VMware Cloud Community
nikhithnikky
Contributor
Contributor

What is the command to get the VM's BOOT Mode (BIOS/EFI)?

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

0 Kudos
2 Replies
nikhithnikky
Contributor
Contributor

This command helped to get the Boot Mode of a VM:

"vim-cmd vmsvc/get.config <vm-id> | grep firmware"

0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator note: Technical issue/question, moved to the VM forum area


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos