SetVmBootOrder

Sets the device boot order of a VM instance. For example,
SetVmBootOrder uuid=108af59a0f4e4d6cb838a5591db1016a bootOrder=CdRom

Parameters

Name Description Optional Valid Value Starting Version
uuid The VM instance UUID. 0.6
bootOrder The boot device. Options:
  • CdRom: CD-ROM
  • HardDisk: hard disk
  • Network: network
If not specified, the default boot order (HardDisk, CdRom, CdRom) will be used.
Yes
  • CdRom
  • HardDisk
  • Network
0.6
userTags The user tags. For more information, see CreateUserTag. The resource type is VmInstanceVO. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is VmInstanceVO. Yes 0.6
timeout Yes
Note:
  • When you set the boot order for a VM instance in ZStack Cloud, you can specify whether to make the setting take effect only once on the next VM boot by adding the bootOrderOnce option to SystemTags. Valid values: true and false.
    • Syntax: bootOrderOnce::{%s}
    • Example: bootOrderOnce::true
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center