Merge pull request #7094 from hashicorp/fix_7087

fix virtualbox 6.0 beta command options
This commit is contained in:
Adrien Delorme 2018-12-11 11:54:56 +01:00 committed by GitHub
commit dfa284c02b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}