Set Firmware Option for Vsphere VM created by salt-cloud

be flag

I am trying to create a VM hosted in Vsphere using salt-cloud and need to set the boot options for this VM.

From what I can tell there isn't an actual option for this so I guessing it needs to be part of my extra_config section, however I am not fully sure how to implement this.

My extra_config currently looks like this

    vim.vm.BootOptions.efiSecureBootEnabled: True

But I get an error in Vsphere that says :

A specified parameter was not correct: config.extraConfig["vim.vm.BootOptions.efiSecureBootEnabled"]

This was a guess from the VmWare documentation

Any help is appreciated.

br flag

Create a template with the settings you need and just build from that.

user182595 avatar
be flag
I've tried that in the past and it didn't work the way I would like, would be better to get this working if possible. Thanks for your comment though
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.