Commit 618d2f31 authored by Chris Bednarski's avatar Chris Bednarski

Merge pull request #2438 from lvillani/portcount-vbox-5.0

Use --portcount on VirtualBox 5.x
parents 4dccc541 7e64e906
...@@ -22,7 +22,7 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string) error { ...@@ -22,7 +22,7 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string) error {
} }
portCountArg := "--sataportcount" portCountArg := "--sataportcount"
if strings.HasPrefix(version, "4.3") { if strings.HasPrefix(version, "4.3") || strings.HasPrefix(version, "5.") {
portCountArg = "--portcount" portCountArg = "--portcount"
} }
......
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