mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Merge pull request #1501 from JessThrysoee/current_fdd0_does_not_exist
builder/parallels: Ignore 'The fdd0 device does not exist'
This commit is contained in:
commit
57ad64da30
1 changed files with 3 additions and 4 deletions
|
|
@ -39,11 +39,10 @@ func (s *StepAttachFloppy) Run(state multistep.StateBag) multistep.StepAction {
|
|||
"set", vmName,
|
||||
"--device-del", "fdd0",
|
||||
}
|
||||
if err := driver.Prlctl(del_command...); err != nil {
|
||||
state.Put("error", fmt.Errorf("Error deleting floppy: %s", err))
|
||||
}
|
||||
ui.Say("Attaching floppy disk...")
|
||||
// This will almost certainly fail with 'The fdd0 device does not exist.'
|
||||
driver.Prlctl(del_command...)
|
||||
|
||||
ui.Say("Attaching floppy disk...")
|
||||
// Attaching the floppy disk
|
||||
add_command := []string{
|
||||
"set", vmName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue