Is there a command to check if a VM template is created with Boot Mode as BIOS/EFI? For ex: in esxi 6.7 if we create a VM template for Rhel7-x64, the boot mode is by default chosen as "BIOS", while for Rhel8-x64 its "EFI". Is there a command to get this boot Mode of a particular VM template?
I know from the GUI we can get this under "Edit Settings"-->"VM options" -- > "Boot Options", but I want to know if we have an equivalent command !!!
Thanks and Regards,
Nikhith
This command helped to get the Boot Mode of a VM:
"vim-cmd vmsvc/get.config <vm-id> | grep firmware"
Moderator note: Technical issue/question, moved to the VM forum area