Skip to content

Commit

Permalink
Enable UEFI on kubevirt VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
olliewalsh committed Jun 8, 2023
1 parent 4a89b87 commit a076269
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions controllers/openstackvmset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,12 @@ func (r *OpenStackVMSetReconciler) vmCreateInstance(
Machine: &virtv1.Machine{
Type: "",
},
Features: &virtv1.Features{
Smm: &virtv1.FeatureState{ Enabled: &trueValue },
},
Firmware: &virtv1.Firmware{
Bootloader: &virtv1.Bootloader{ Efi: &virtv1.EFI{} },
},
},
Volumes: []virtv1.Volume{},
Networks: []virtv1.Network{
Expand Down

0 comments on commit a076269

Please sign in to comment.