builder/vmware, builder/virtualbox: Don't continue if ISO error
This commit is contained in:
parent
39eb9b7497
commit
a3c5fed267
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue