Merge pull request #558 from fabiang/virtualbox-sata

builder/virtualbox: arguments Prefix (--) was missing for (sata)portconfig
This commit is contained in:
Mitchell Hashimoto 2013-10-23 20:33:01 -07:00
commit 7e731db6f7
1 changed files with 2 additions and 2 deletions

View File

@ -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{