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

Use --portcount on VirtualBox 5.x
This commit is contained in:
Chris Bednarski 2015-07-15 13:01:22 -07:00
commit 618d2f3158
1 changed files with 1 additions and 1 deletions

View File

@ -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"
} }