Should only default to first controller if its not 1 of the 2 controllers available
This commit is contained in:
parent
d57517d4a4
commit
54733323a8
|
@ -112,7 +112,7 @@ func (s *StepMountSecondaryDvdImages) addAndMountDvdDisk(vmName string, isoPath
|
|||
return properties, err
|
||||
}
|
||||
|
||||
if controllerNumber != "0" || controllerNumber != "1" {
|
||||
if controllerNumber != "0" && controllerNumber != "1" {
|
||||
//There are only 2 ide controllers, try to use the one the hdd is attached too
|
||||
controllerNumber = "0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue