From 5e440fa4c1052304b6577ba4a592885ae3383e62 Mon Sep 17 00:00:00 2001 From: Fabian Grutschus Date: Wed, 23 Oct 2013 15:05:00 +0200 Subject: [PATCH] Arguments Prefix (--) was missing for (data)portconfig --- builder/virtualbox/driver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/virtualbox/driver.go b/builder/virtualbox/driver.go index 88d37eba9..d16320f48 100644 --- a/builder/virtualbox/driver.go +++ b/builder/virtualbox/driver.go @@ -53,9 +53,9 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string) error { return err } - portCountArg := "sataportcount" + portCountArg := "--sataportcount" if strings.HasPrefix(version, "4.3") { - portCountArg = "portcount" + portCountArg = "--portcount" } command := []string{