Commit 4bc578a0 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Merge pull request #1605 from legal90/parallels-disable-cdrom

builder/parallels: Default cdrom0 should be disconnected
parents a0abb095 6e778e72
...@@ -81,7 +81,7 @@ func (s *stepAttachISO) Cleanup(state multistep.StateBag) { ...@@ -81,7 +81,7 @@ func (s *stepAttachISO) Cleanup(state multistep.StateBag) {
log.Println("Enabling default CD/DVD drive...") log.Println("Enabling default CD/DVD drive...")
command := []string{ command := []string{
"set", vmName, "set", vmName,
"--device-set", "cdrom0", "--enable", "--device-set", "cdrom0", "--enable", "--disconnect",
} }
if err := driver.Prlctl(command...); err != nil { 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