Skip to content
Snippets Groups Projects
Verified Commit 1ce7d14a authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Fix variable comparison

parent a5e5a3ea
No related branches found
No related tags found
No related merge requests found
Pipeline #81275 failed
......@@ -15,7 +15,7 @@ module ForemanVmwareAdvanced
return unless vm
spec = {}
if vm.firmeware == 'efi'
if vm.firmware == 'efi'
if SETTINGS[:vmware_secureboot] && args[:guest_id]&.start_with?('win')
spec[:bootOptions] = RbVmomi::VIM::VirtualMachineBootOptions.new(efiSecureBootEnabled: true)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment