Common Commands (KVM): Difference between revisions

From vwiki
Jump to navigation Jump to search
(WIP)
 
m (Added some commands)
 
Line 8: Line 8:
|-
|-
| <code> virsh dominfo <name> </code>  || Show info for machine <name>
| <code> virsh dominfo <name> </code>  || Show info for machine <name>
|-
| <code> virsh start <name> </code>    || Start machine <name>
|-
|-
| <code> virsh shutdown <name> </code>  || Shutdown machine <name>
| <code> virsh shutdown <name> </code>  || Shutdown machine <name>
|-
| <code> virsh destroy <name> </code>  || Kill machine <name>
|-
|-
| <code> virsh undefine <name> </code>  || Delete machine <name>
| <code> virsh undefine <name> </code>  || Delete machine <name>

Latest revision as of 22:42, 17 February 2018

Command Usage
virsh list --all List Virtual Machines / domains
virsh console <name> Connect to console of machine <name>
virsh dominfo <name> Show info for machine <name>
virsh start <name> Start machine <name>
virsh shutdown <name> Shutdown machine <name>
virsh destroy <name> Kill machine <name>
virsh undefine <name> Delete machine <name>
virsh edit <name> Edit config of machine <name>