Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:configure_systems_to_launch_virtual_machines_at_boot [2016/02/29 21:50] billdozor created |
linux_wiki:configure_systems_to_launch_virtual_machines_at_boot [2018/03/18 23:44] billdozor [Auto Start on Boot] |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/how-to/script. | + | For a VM to start on host boot, two things need auto-starting; |
---- | ---- | ||
- | onfigure | + | ===== Auto Start on Boot ===== |
+ | |||
+ | Configure | ||
Ensure libvirtd is enabled, enable if not | Ensure libvirtd is enabled, enable if not | ||
Line 15: | Line 17: | ||
</ | </ | ||
+ | \\ | ||
Configure each VM with the autostart option using virsh | Configure each VM with the autostart option using virsh | ||
<code bash> | <code bash> | ||
- | virsh | + | # list all VMs |
- | list --all | + | virsh list --all |
- | autostart < | + | |
+ | # Configure VM name to autostart | ||
+ | virsh autostart < | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | Show if VM has autostart enabled or not | ||
+ | <code bash> | ||
+ | # List all VMs with autostart enabled | ||
+ | virsh list --autostart | ||
+ | |||
+ | # View info on a specific VM (including " | ||
+ | virsh dominfo | ||
</ | </ | ||
---- | ---- | ||