internal/boot: boot VMWare VMs with EFI and SCSI

Since we use streamOptimized images everywhere, we no longer need to use
IDE and boot with bios. Let's test a more realistic scenario.
This commit is contained in:
Sanne Raymaekers 2023-03-24 15:36:26 +01:00 committed by Ondřej Budai
parent 1f070687f9
commit d952e41161

View file

@ -148,9 +148,9 @@ func WithBootedImage(creds *AuthOptions, imagePath, imageName, publicKey string,
fmt.Sprintf("-ds=%s", creds.Datastore),
fmt.Sprintf("-folder=%s", creds.Folder),
fmt.Sprintf("-net=%s", creds.Network),
"-m=2048", "-g=rhel8_64Guest", "-on=true", "-firmware=bios",
"-m=2048", "-g=rhel8_64Guest", "-on=true", "-firmware=efi",
fmt.Sprintf("-disk=%s/%s", imageName, vmdkBaseName),
"--disk.controller=ide",
"--disk.controller=scsi",
imageName,
}
retcode := cli.Run(args)