23
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
Usage guidelines
Before you use this command, make sure the VM is in paused (suspended) state. To view VM status,
use the
display vmlist command.
Examples
# Resume VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] resume vm centos7
Related commands
display vmlist
suspend vm
set bootorder vm
Use set bootorder vm to specify a boot order number for a disk or CD-ROM on a VM.
Syntax
set bootorder vm vm-name target target order-number
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
target target: Specifies a disk by its drive name. The target argument is a case-sensitive
string of three characters.
order-number: Specifies a boot order number in the range of 0 to 99. A value of 0 indicates that
the disk or CD-ROM does not boot when the VM starts. The lower the value, the higher the boot
priority.
Usage guidelines
To ensure that a VM can start, make sure no disk or CD-ROM has the same boot order number as
the disk or CD-ROM used to boot the VM.
If you use this command on a running VM, you must restart the VM for the configuration to take effect.
If you use this command on a stopped VM, the configuration takes effect after you start the VM.