We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c2c473 commit 896d7f4Copy full SHA for 896d7f4
pkg/drivers/vfkit/driver_darwin.go
@@ -170,11 +170,10 @@ func (d *Driver) Start() error {
170
return err
171
}
172
173
- bootLoader := config.NewLinuxBootloader(
174
- d.VmlinuzPath,
175
- "console=hvc0 "+d.Cmdline,
176
- d.InitrdPath,
177
- )
+ efiStore := d.ResolveStorePath("efistore.nvram")
+ create := !crcos.FileExists(efiStore)
+
+ bootLoader := config.NewEFIBootloader(efiStore, create)
178
179
vm := config.NewVirtualMachine(
180
uint(d.CPU),
0 commit comments