Changes

Jump to navigation Jump to search
no edit summary
Line 54: Line 54:     
You will want to ensure it's auto started and will need to do that from the CLI using the virsh "autostart" command.  This ensures the server will boot when the box restarts.
 
You will want to ensure it's auto started and will need to do that from the CLI using the virsh "autostart" command.  This ensures the server will boot when the box restarts.
 +
 +
<pre>
 +
virsh # dominfo TestVM
 +
Id:            7
 +
Name:          TestVM
 +
UUID:          a4dbcba6-f493-4bdc-b5b0-40b714e9e9a4
 +
OS Type:        hvm
 +
State:          running
 +
CPU(s):        1
 +
CPU time:      130.2s
 +
Max memory:    1048576 KiB
 +
Used memory:    1048576 KiB
 +
Persistent:    yes
 +
Autostart:      disable
 +
Managed save:  no
 +
Security model: apparmor
 +
Security DOI:  0
 +
Security label: libvirt-a4dbcba6-f493-4bdc-b5b0-40b714e9e9a4 (enforcing)
 +
 +
virsh # list
 +
Id    Name                          State
 +
----------------------------------------------------
 +
1    ASL-Stats                      running
 +
7    TestVM                        running
 +
 +
virsh # dominfo TestVM
 +
Id:            7
 +
Name:          TestVM
 +
UUID:          a4dbcba6-f493-4bdc-b5b0-40b714e9e9a4
 +
OS Type:        hvm
 +
State:          running
 +
CPU(s):        1
 +
CPU time:      130.6s
 +
Max memory:    1048576 KiB
 +
Used memory:    1048576 KiB
 +
Persistent:    yes
 +
Autostart:      disable
 +
Managed save:  no
 +
Security model: apparmor
 +
Security DOI:  0
 +
Security label: libvirt-a4dbcba6-f493-4bdc-b5b0-40b714e9e9a4 (enforcing)
 +
 +
virsh # autostart TestVM
 +
Domain TestVM marked as autostarted
 +
 +
</pre>

Navigation menu