Use --portcount on VirtualBox 5.x
This commit is contained in:
parent
683d6a73ec
commit
7e64e90670
|
@ -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