Difference between revisions of "Virsh autostart"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
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 | ||
Revision as of 12:49, 12 August 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
- To disable autostart:
virsh autostart MY_VM_NAME --disable Domain MY_VM_NAME unmarked as autostarted
virsh list --no-autostart
Related terms
virsh start
,virsh pool-autostart
andvirsh net-autostart
virsh shutdown
virsh dominfo
virtinst --autostart
option- docker
See also
Advertising: