VMware Cloud Community
vAntMet
Contributor
Contributor

OVF Template with EFI deploys with BIOS firmware

I have packer creating a template, and pushing into a content library (VCF4.1, vSphere 7).

vAntMet_0-1614253452569.png

The firmware is set to efi-secure.

Downloading the OVF that results and opening in Notepad++ shows that this is correct in the template in the content library:

vAntMet_1-1614253522510.png

vAntMet_2-1614253545975.png

Deploying a VM from the template results in a VM which wont boot due to BIOS firmware being selected. Manually changing this back to EFI and Secure means the VM boots fine.

This is true for Windows 10, Windows Server 2016 and 2019.

What am I doing wrong?

Labels (1)
  • ke

0 Kudos
1 Reply
vAntMet
Contributor
Contributor

Looks like my issue is: https://github.com/hashicorp/packer/issues/9898

When Packer calls the vSphere API to create the OVF template, it adds some lines in which then force firmware back to BIOS.

 

 

0 Kudos