vbox iso: use NVMe Controller when the hard drive interface if pcie

This commit is contained in:
Adrien Delorme 2019-11-01 14:43:59 +01:00
parent 6f54468dd5
commit b790776096
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ func (s *stepCreateDisk) Run(ctx context.Context, state multistep.StateBag) mult
controllerName = "SCSI Controller"
}
if config.HardDriveInterface == "pcie" {
controllerName = "NVMe Controller"
}
nonrotational := "off"
if config.HardDriveNonrotational {
nonrotational = "on"