Arguments Prefix (--) was missing for (data)portconfig

This commit is contained in:
Fabian Grutschus 2013-10-23 15:05:00 +02:00
parent 50f65ad2c2
commit 5bc3150bb5
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 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{