mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-10 01:00:08 -04:00
Merge pull request #7094 from hashicorp/fix_7087
fix virtualbox 6.0 beta command options
This commit is contained in:
commit
dfa284c02b
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string, portcoun
|
|||
}
|
||||
|
||||
portCountArg := "--sataportcount"
|
||||
if strings.HasPrefix(version, "4.3") || strings.HasPrefix(version, "5.") {
|
||||
if strings.HasPrefix(version, "4.3") || strings.HasPrefix(version, "5.") || strings.HasPrefix(version, "6.") {
|
||||
portCountArg = "--portcount"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue