Merge pull request #558 from fabiang/virtualbox-sata
builder/virtualbox: arguments Prefix (--) was missing for (sata)portconfig
This commit is contained in:
commit
7e731db6f7
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue