Difference between revisions of "Virsh autostart"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
  
 
== Related commands ==
 
== Related commands ==
* <code>[[virsh start]]</code> and <code>[[virsh pool-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]]</code> --autostart 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: