From a819217c93c5f54dc5291558201d9225dbe2f165 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Mon, 10 Dec 2018 15:18:21 -0800 Subject: [PATCH] fix virtualbox 6.0 beta command options --- builder/virtualbox/common/driver_4_2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/virtualbox/common/driver_4_2.go b/builder/virtualbox/common/driver_4_2.go index 3e1151c21..b5dc64c67 100644 --- a/builder/virtualbox/common/driver_4_2.go +++ b/builder/virtualbox/common/driver_4_2.go @@ -25,7 +25,7 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string, portcoun } portCountArg := "--sataportcount" - if strings.HasPrefix(version, "4.3") || strings.HasPrefix(version, "5.") { + if strings.HasPrefix(version, "4.3") || strings.HasPrefix(version, "5.") || strings.HasPrefix(version, "6.") { portCountArg = "--portcount" }