builder/parallels: Default cdrom0 should be disconnected
Otherwise, the error message will be displayed in GUI: "Unable to connect CD/DVD 0"
This commit is contained in:
parent
b1c80ce44f
commit
6e778e7244
|
@ -81,7 +81,7 @@ func (s *stepAttachISO) Cleanup(state multistep.StateBag) {
|
|||
log.Println("Enabling default CD/DVD drive...")
|
||||
command := []string{
|
||||
"set", vmName,
|
||||
"--device-set", "cdrom0", "--enable",
|
||||
"--device-set", "cdrom0", "--enable", "--disconnect",
|
||||
}
|
||||
|
||||
if err := driver.Prlctl(command...); err != nil {
|
||||
|
|
Loading…
Reference in New Issue