Difference between revisions of "Template:Virsh operations"

From wikieduonline
Jump to navigation Jump to search
(Created page with "* Start VM: <code>virsh start VM_MACHINE_NAME</code> * Shutdown VM: <code>virsh shutdown</code> (stop) Gracefully VM * Reboot VM...")
 
Line 1: Line 1:
* Start VM: <code>[[virsh/virsh start|virsh start]] VM_MACHINE_NAME</code>
+
* Start VM: <code>[[virsh start]] VM_MACHINE_NAME</code>
* Shutdown VM: <code>[[virsh/virsh shutdown|virsh shutdown]]</code> (stop) Gracefully VM
+
* Shutdown VM: <code>[[virsh shutdown|virsh shutdown]]</code> (stop) Gracefully VM
* Reboot VM: <code>[[virsh/virsh reboot|virsh reboot]]</code> Restart VM
+
* Reboot VM: <code>[[virsh reboot]]</code> Restart VM
* Reset VM:<code>[[virsh/virsh reset|virsh reset]]</code> emulates the power reset button on a machine
+
* Reset VM:<code>[[virsh reset]]</code> emulates the power reset button on a machine
 
* Resume VM:<code>[[virsh resume]]</code>
 
* Resume VM:<code>[[virsh resume]]</code>
* ''Destroy'' VM: <code>[[virsh/virsh destroy|virsh destroy]] VM_NAME</code> (Ungraceful Shutdown/stop VM. Actually do not destroy data or VM but you can corrupt guest file systems)
+
* ''Destroy'' VM: <code>[[virsh destroy]] VM_NAME</code> (Ungraceful Shutdown/stop VM. Actually do not destroy data or VM but you can corrupt guest file systems)
 
** <code>virsh destroy VM_MACHINE_NAME --graceful</code>
 
** <code>virsh destroy VM_MACHINE_NAME --graceful</code>

Revision as of 04:12, 7 January 2020

  • Start VM: virsh start VM_MACHINE_NAME
  • Shutdown VM: virsh shutdown (stop) Gracefully VM
  • Reboot VM: virsh reboot Restart VM
  • Reset VM:virsh reset emulates the power reset button on a machine
  • Resume VM:virsh resume
  • Destroy VM: virsh destroy VM_NAME (Ungraceful Shutdown/stop VM. Actually do not destroy data or VM but you can corrupt guest file systems)
    • virsh destroy VM_MACHINE_NAME --graceful

Advertising: