Difference between revisions of "Virsh autostart"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
* To enable autostart: <code>virsh autostart MY_VM_NAME</code>
+
{{lc}}
 +
* To enable autostart: <code>[[virsh]] autostart MY_VM_NAME</code>
 
* To disable autostart: <code>virsh autostart MY_VM_NAME --disable</code>
 
* To disable autostart: <code>virsh autostart MY_VM_NAME --disable</code>
 +
* Verify status: <code>[[virsh dominfo]] MY_VM_NAME</code>
  
Verify status: <code>[[virsh dominfo]] MY_VM_NAME</code>
 
  
 
* To enable autostart:
 
* To enable autostart:
 
  virsh autostart MY_VM_NAME
 
  virsh autostart MY_VM_NAME
 
  Domain MY_VM_NAME marked as autostarted
 
  Domain MY_VM_NAME marked as autostarted
 +
 +
* To disable autostart:
 +
virsh autostart MY_VM_NAME --disable
 +
Domain MY_VM_NAME unmarked as autostarted
  
  
 
  <code>[[virsh list]] --no-autostart</code>
 
  <code>[[virsh list]] --no-autostart</code>
  
== See also ==
+
== Related terms ==
* {{KVM}}
+
* <code>[[virsh start]]</code>, <code>[[virsh pool-autostart]]</code> and <code>[[virsh net-autostart]]</code>
* <code>[[virsh start]]</code> and <code>[[virsh pool-autostart]]</code>
+
* <code>[[virsh shutdown]]</code>
 
* <code>[[virsh dominfo]]</code>  
 
* <code>[[virsh dominfo]]</code>  
* <code>[[virtinst]]</code> --autostart option  
+
* <code>[[virtinst]] --autostart</code> option
 +
* [[docker]]
 +
* [[Start configuration behavior and restart policy]]
 +
 
 +
== See also ==
 
*{{virsh}}
 
*{{virsh}}
  

Latest revision as of 10:52, 26 December 2022

  • 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
  • To disable autostart:
virsh autostart MY_VM_NAME --disable
Domain MY_VM_NAME unmarked as autostarted


virsh list --no-autostart

Related terms[edit]

See also[edit]

Advertising: