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:
Mikhail Zholobov 2014-10-21 16:44:43 +04:00
parent b1c80ce44f
commit 6e778e7244
1 changed files with 1 additions and 1 deletions

View File

@ -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 {