Commit 6e778e72 authored by Mikhail Zholobov's avatar Mikhail Zholobov

builder/parallels: Default cdrom0 should be disconnected

Otherwise, the error message will be displayed in GUI:
"Unable to connect CD/DVD 0"
parent b1c80ce4
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment