Virsh autostart: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Linux Virtualization Concepts =Configure to Automatically Start at Boot= <syntaxhighlight lang='bash'> virsh autosta...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=
* [[Linux_Virtualization_Concepts#Autostart|Linux Virtualization Concepts]]
* [[Linux_Virtualization_Concepts#Autostart|Linux Virtualization Concepts]]
* [[Virsh#Commands|virsh]]


=Configure to Automatically Start at Boot=
=Configure to Automatically Start at Boot=
Line 13: Line 14:
virsh autostart --disable <guest-name>
virsh autostart --disable <guest-name>
</syntaxhighlight>
</syntaxhighlight>


=Report Configuration=
=Report Configuration=
Line 20: Line 20:
virsh dominfo <guest-name> | grep Autostart
virsh dominfo <guest-name> | grep Autostart
</syntaxhighlight>
</syntaxhighlight>
It should look like:
<font size=-1>
Autostart:      enable
</font>

Latest revision as of 21:01, 17 November 2021

Internal

Configure to Automatically Start at Boot

virsh autostart <guest-name>

Configure to Not Start Automatically at Boot

virsh autostart --disable <guest-name>

Report Configuration

virsh dominfo <guest-name> | grep Autostart

It should look like:

Autostart:      enable