Score:1

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

  extra_config:
    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 https://vdc-repo.vmware.com/vmwb-repository/dcr-public/1ef6c336-7bef-477d-b9bb-caa1767d7e30/82521f49-9d9a-42b7-b19b-9e6cd9b30db1/vim.vm.BootOptions.html

Any help is appreciated.

Score:0
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:

mangohost

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.