Commit 57ad64da authored by Rickard von Essen's avatar Rickard von Essen

Merge pull request #1501 from JessThrysoee/current_fdd0_does_not_exist

builder/parallels: Ignore 'The fdd0 device does not exist'
parents dc3f156f cf6532ff
...@@ -39,11 +39,10 @@ func (s *StepAttachFloppy) Run(state multistep.StateBag) multistep.StepAction { ...@@ -39,11 +39,10 @@ func (s *StepAttachFloppy) Run(state multistep.StateBag) multistep.StepAction {
"set", vmName, "set", vmName,
"--device-del", "fdd0", "--device-del", "fdd0",
} }
if err := driver.Prlctl(del_command...); err != nil { // This will almost certainly fail with 'The fdd0 device does not exist.'
state.Put("error", fmt.Errorf("Error deleting floppy: %s", err)) driver.Prlctl(del_command...)
}
ui.Say("Attaching floppy disk...")
ui.Say("Attaching floppy disk...")
// Attaching the floppy disk // Attaching the floppy disk
add_command := []string{ add_command := []string{
"set", vmName, "set", vmName,
......
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