Merge pull request #2438 from lvillani/portcount-vbox-5.0
Use --portcount on VirtualBox 5.x
This commit is contained in:
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…
Reference in New Issue