Syntax
install vm-pkg pkg-path
Views
VMM view
Predefined user roles
network-admin
Parameters
pkg-path
Usage guidelines
Prepare the .pkg file before you use the file to install a VM and save the file on the device. You can
use the
export vm
Examples
# Install a VM based on the specified .pkg file.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] install vm-pkg hda0:/centos7.pkg
install VM package centos7.pkg...
restore pakagepath
Use
restore pakagepath
Syntax
restore pakagepath backup-image-path
Views
VMM view
Predefined user roles
network-admin
Parameters
backup-image-path
1 to 63 characters.
Examples
# Restore a VM based on the specified VM backup file on a USB flash drive.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] restore pakagepath usba0:/centos7.vmb
resume vm
Use
resume vm
Syntax
resume vm vm-name
: Specifies the absolute path of the .pkg file, a case-sensitive string of 1 to 63 characters.
command to export .pkg files.
to restore a VM based on a .vmb VM backup file in the specified path.
: Specifies the absolute path of the VM backup file, a case-sensitive string of
to resume a suspended VM.
22