Commit 7e731db6 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Merge pull request #558 from fabiang/virtualbox-sata

builder/virtualbox: arguments Prefix (--) was missing for (sata)portconfig
parents 532b4d36 5e440fa4
...@@ -53,9 +53,9 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string) error { ...@@ -53,9 +53,9 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string) error {
return err return err
} }
portCountArg := "sataportcount" portCountArg := "--sataportcount"
if strings.HasPrefix(version, "4.3") { if strings.HasPrefix(version, "4.3") {
portCountArg = "portcount" portCountArg = "--portcount"
} }
command := []string{ command := []string{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment