Overview
This article provides information regarding the Exinda CLI command virt
which is used for creating or editing virtual machines.
Information
- {}: Options are enclosed in braces and are separated by '|'
- []: Optional keywords are enclosed in brackets
- <>: User input is required where variables are enclosed in greater-than and less-than symbols
The following table describes the commands used for performing common actions related to virtualization:
Action Description |
Command | Parameter Description |
To enable the virtualization feature |
virt enable |
Not Applicable |
To assign an interface to use as a VM access port |
virt interface <interface> |
Not Applicable |
To configure a virtual machine |
|
Set CPU architecture. |
virt vm <name> boot auto-power {on|off|last} |
Configure boot options by specifying power state for VM to have after host boot:
|
|
virt vm <name> boot device order {cdrom|hd} |
Configure boot options by specifying the order to try devices during boot. |
|
virt vm <name> comment <comment> |
Set a comment describing this virtual machine |
|
virt vm <name> console {connect|graphics|text} |
Configure or connect to the text or graphics |
|
virt vm <name> copy <new_name> [storage copy-type
{shallow|none}] |
Make a duplicate copy of this virtual machine's storage.
|
|
virt vm <name> feature {pae|acpi|apic} enable |
Enable/disable certain virtualization features.
|
|
virt vm <name> install cancel |
Cancel the installation, already in progress, of an operating system onto this virtual machine. |
|
virt vm <name> install cdrom file <volume-name> {connect-console|disk-overwrite|timeout|verify} |
Install an operating system from a CD-ROM (ISO) image, onto this virtual machine (temporarily attach a CD and boot from it).
|
|
|
Configure virtual interfaces. | |
virt vm <name> memory <MB> |
Set memory allowance. |
|
virt vm <name> power {cycle|off|on} |
Turn this virtual machine on or off, plus other related options. |
|
virt vm <name> rename <new_name> |
Rename this virtual machine. |
|
virt vm <name> storage create disk {bus|drive-number|file|mode|size-max} |
Create and configure a new storage device for the VM, with an automatically assigned name. |
|
virt vm <name> storage device {bus|drive-number|move|swap} |
Configure and modify the existing storage device, or create a new one with a specific name. |
|
virt vm <name> vcpus {count|vcpu} |
Specify number of virtual CPUs:
|
|
To configure or manage virtual networks | virt vnet <name> {dhcp|forward|ip|vbridge} |
|
To manage virtual storage volumes | virt volume {create|fetch|file} |
|
Find more CLI commands.