mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-07 07:00:25 -04:00
Merge pull request #558 from fabiang/virtualbox-sata
builder/virtualbox: arguments Prefix (--) was missing for (sata)portconfig
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user