uefi command line creation

John Allison

Well-Known Member
Feb 1, 2018
33
4
48
Gateshead UK
www.adlinktech.com
We've been playing around with automating the creation of VM's but hit a problem when it comes to those requiring uefi boot. Whilst its possible to create/assing a uefi boot disk using the GUI, theres no command line support?

Is there no way to create/assign a uefi disk from the command line?

Thanks :)
 
if you mean the 'efi disk' from the gui
yes you can see the example from the documentation:

You can create such a disk with the following command:
qm set <vmid> -efidisk0 <storage>:1,format=<format>