Add version 0.x to the rule
This commit is contained in:
parent
e40c90423f
commit
e5b1e0f4d9
|
@ -25,7 +25,9 @@ func (d *VBox42Driver) CreateSATAController(vmName string, name string, portcoun
|
|||
}
|
||||
|
||||
portCountArg = "--portcount"
|
||||
if strings.HasPrefix(version, "1.") || strings.HasPrefix(version, "2.") || strings.HasPrefix(version, "3.") || strings.HasPrefix(version, "4.0") || strings.HasPrefix(version, "4.1") || strings.HasPrefix(version, "4.2") {
|
||||
if strings.HasPrefix(version, "0.") || strings.HasPrefix(version, "1.") || strings.HasPrefix(version, "2.") ||
|
||||
strings.HasPrefix(version, "3.") || strings.HasPrefix(version, "4.0") || strings.HasPrefix(version, "4.1") ||
|
||||
strings.HasPrefix(version, "4.2") {
|
||||
portCountArg := "--sataportcount"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue