Difference between revisions of "Redhat:Virsh"
Jump to navigation
Jump to search
(→virsh) |
|||
| Line 33: | Line 33: | ||
==virt-clone== | ==virt-clone== | ||
| + | |||
| + | |||
| + | In order to clone a VM, the VM must be shutdown first, beofre running the command: | ||
| + | |||
| + | <syntaxhighlight> | ||
| + | virt-clone --prompt | ||
| + | </syntaxhighlight> | ||
Revision as of 15:34, 3 September 2013
VM Command Line Tools
VMs can be created, cloned, converted and installed using the command line. Three commands are used to do this: virt-install, virsh, virt-clone.
virsh
| Autostart <VM> | Start the VM when the physical system starts up |
| capabilities | List the Abilities of the local hyper-visor |
| edit <VM> | Edit the VM |
| list --all | List all VMs |
| start <VM> | Start a VM |
| shutdown <VM> | Gracefully shutdown a VM |
| destory <VM> | Equivalent of pulling the plug on a VM |
virt-install
virt-clone
In order to clone a VM, the VM must be shutdown first, beofre running the command:
virt-clone --prompt