diff --git a/builder/virtualbox/iso/step_create_disk.go b/builder/virtualbox/iso/step_create_disk.go index b70a65b93..1a8a80ad6 100644 --- a/builder/virtualbox/iso/step_create_disk.go +++ b/builder/virtualbox/iso/step_create_disk.go @@ -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"