ProxMox: Set VM to AutoStart from Command Line CLI Start
-
Getting a VM to start automatically is a common task and would be far easier to do from the command line shell than to take the time to log into the web GUI, hunt around, etc. So much faster. You just need the command...
qm set VMID_Here --onboot 1
-
Example usage, if the VM that we want to start is "101"...
# qm set 101 --onboot 1 update VM 101: -onboot 1
If you don't know how to quickly find the VMID of your VM, us...
qm list
-
Nice but it's even easier with pure kvm as you don't have to go the roundabout way of using VMid.
virsh autostart somevm
-
@Pete-S said in ProxMox: Set VM to AutoStart from Command Line CLI Start:
Nice but it's even easier with pure kvm as you don't have to go the roundabout way of using VMid.
virsh autostart somevm
And the exact VM name (case sensitive) is different than the VM ID how?
-
@Pete-S said in ProxMox: Set VM to AutoStart from Command Line CLI Start:
Nice but it's even easier with pure kvm as you don't have to go the roundabout way of using VMid.
virsh autostart somevm
Personally I find the number quite a bit easier.