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 specify the boot device of a VM instance in ZStack Cloud, you can specify the boot order by adding the BOOT_ORDER_ONCE option to SystemTags. Note that the setting will take effect during next boot.
    • Format of the BOOT_ORDER_ONCE option: bootOrderOnce::{%s}
    • Example: bootOrder::Network,CdRom,HardDisk