From 6e778e724443b8d52b2748f279f096d7b99fc0c9 Mon Sep 17 00:00:00 2001 From: Mikhail Zholobov Date: Tue, 21 Oct 2014 16:44:43 +0400 Subject: [PATCH] builder/parallels: Default cdrom0 should be disconnected Otherwise, the error message will be displayed in GUI: "Unable to connect CD/DVD 0" --- builder/parallels/iso/step_attach_iso.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/parallels/iso/step_attach_iso.go b/builder/parallels/iso/step_attach_iso.go index 34d7b2fa9..428b12fdb 100644 --- a/builder/parallels/iso/step_attach_iso.go +++ b/builder/parallels/iso/step_attach_iso.go @@ -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 {