Difference between revisions of "Virsh autostart"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
* <code>[[virsh start]]</code>, <code>[[virsh pool-autostart]]</code> and <code>[[virsh net-autostart]]</code>
 
* <code>[[virsh start]]</code>, <code>[[virsh pool-autostart]]</code> and <code>[[virsh net-autostart]]</code>
 
* <code>[[virsh dominfo]]</code>  
 
* <code>[[virsh dominfo]]</code>  
* <code>[[virtinst]]</code> --autostart option
+
* <code>[[virtinst]] --autostart</code> option
  
 
== See also ==  
 
== See also ==  

Revision as of 09:54, 4 February 2020

  • To enable autostart: virsh autostart MY_VM_NAME
  • To disable autostart: virsh autostart MY_VM_NAME --disable

Verify status: virsh dominfo MY_VM_NAME

  • To enable autostart:
virsh autostart MY_VM_NAME
Domain MY_VM_NAME marked as autostarted


virsh list --no-autostart

Related commands

See also

Advertising: