Virsh

From Leo's Notes
Revision as of 23:03, 29 July 2021 by Leo (talk | contribs) (Created page with "== Cheat sheet == {| class="wikitable" !Command !description |- |<code>virsh nodeinfo</code> |shows node info |- |<code>virsh list [--all]</code> |shows all VMs |- |<code><now...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 29 July 2021, at 23:03.

Cheat sheet

Command description
virsh nodeinfo shows node info
virsh list [--all] shows all VMs
virsh start|shutdown|reboot vm Starts/shutdowns/reboots a VM
virsh destroy vm Destroys a VM
virsh suspend|resume vm suspends or resumes a VM
virsh console vm [--force] connect a console to a VM