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:
parent
1f070687f9
commit
d952e41161
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue