Commit 7e64e906 authored by Lorenzo Villani's avatar Lorenzo Villani

Use --portcount on VirtualBox 5.x

parent 683d6a73
......@@ -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"
}
......
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