Skip to main content

deployos command

Use the deployos command to deploy Windows/Linux/Vmware to the ThinkSystem V2 servers based on LXPM of the server.

Prerequisites:

Before deploying OS, ensure that:
  • The OS ISO image is mounted to the BMC. Only the system images specified in the LXPM list can be deployed through LXPM.

  • Monitor OneCLI in LXPM and ensure OneCLI will no be interfered by the deployment process.

  • A license is required for Windows OS.

  • Do not set the power-on password and setup password; otherwise, the deployment process will be interrupted.

Note
Depending on the system behavior, the Windows OS installation status might be different from the actual system power status.

deployos command syntax

OneCli.exe deployos -ostype <arg> --password <arg> --bmc <arg> [options]
Table 1. deploy command specific parameters
ParameterRequired/OptionalNotes
--licenseOptionalSpecify the license for Windows OS installation.
--ostypeRequiredSpecify the type of the OS to be deployed.
--passwordRequiredSpecify the password for Linux root user or windows administrator user.
--quiet, -qOptional

This parameter answers yes for all questions, and decreases the outputs displayed on screen.

  • --bmc, -b

  • --check-trust, -C

  • --config

  • --help, -h

  • --never-check-trust, -N

  • --nolog, -n

Optional

Refer to Table 2.

Example of the deploy command

OneCli.exe deployos --ostype Windows --password “Password” --bmc USERID:PASSW0RD@xx.xx.xx.xx