mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-22 07:51:39 -04:00
builder/vmware, builder/virtualbox: Don't continue if ISO error
This commit is contained in:
@@ -67,6 +67,7 @@ DownloadWaitLoop:
|
||||
err := fmt.Errorf("Error downloading ISO: %s", err)
|
||||
state["error"] = err
|
||||
ui.Error(err.Error())
|
||||
return multistep.ActionHalt
|
||||
}
|
||||
|
||||
break DownloadWaitLoop
|
||||
|
||||
@@ -67,6 +67,7 @@ DownloadWaitLoop:
|
||||
err := fmt.Errorf("Error downloading ISO: %s", err)
|
||||
state["error"] = err
|
||||
ui.Error(err.Error())
|
||||
return multistep.ActionHalt
|
||||
}
|
||||
|
||||
break DownloadWaitLoop
|
||||
|
||||
Reference in New Issue
Block a user