Differences
This shows you the differences between two versions of the page.
linux_wiki:configure_systems_to_launch_virtual_machines_at_boot [2018/03/18 23:44] billdozor [Auto Start on Boot] |
linux_wiki:configure_systems_to_launch_virtual_machines_at_boot [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Configure Systems To Launch Virtual Machines At Boot ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | For a VM to start on host boot, two things need auto-starting; | ||
- | |||
- | ---- | ||
- | |||
- | ===== Auto Start on Boot ===== | ||
- | |||
- | Configure KVM to auto start specific virtual machines at boot. | ||
- | |||
- | Ensure libvirtd is enabled, enable if not | ||
- | <code bash> | ||
- | systemctl status libvirtd | ||
- | systemctl enable libvirtd | ||
- | </ | ||
- | |||
- | \\ | ||
- | Configure each VM with the autostart option using virsh | ||
- | <code bash> | ||
- | # list all VMs | ||
- | virsh list --all | ||
- | |||
- | # 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 < | ||
- | </ | ||
- | |||
- | ---- | ||