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

Use --portcount on VirtualBox 5.x
pull/2322/merge
Chris Bednarski 11 years ago
commit 618d2f3158

@ -22,7 +22,7 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string) error {
}
portCountArg := "--sataportcount"
if strings.HasPrefix(version, "4.3") {
if strings.HasPrefix(version, "4.3") || strings.HasPrefix(version, "5.") {
portCountArg = "--portcount"
}

Loading…
Cancel
Save