fix virtualbox 6.0 beta command options

This commit is contained in:
Megan Marsh 2018-12-10 15:18:21 -08:00
parent d367c1ba8b
commit a819217c93
1 changed files with 1 additions and 1 deletions

View File

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