Commit a3c5fed2 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware, builder/virtualbox: Don't continue if ISO error

parent 39eb9b74
...@@ -67,6 +67,7 @@ DownloadWaitLoop: ...@@ -67,6 +67,7 @@ DownloadWaitLoop:
err := fmt.Errorf("Error downloading ISO: %s", err) err := fmt.Errorf("Error downloading ISO: %s", err)
state["error"] = err state["error"] = err
ui.Error(err.Error()) ui.Error(err.Error())
return multistep.ActionHalt
} }
break DownloadWaitLoop break DownloadWaitLoop
......
...@@ -67,6 +67,7 @@ DownloadWaitLoop: ...@@ -67,6 +67,7 @@ DownloadWaitLoop:
err := fmt.Errorf("Error downloading ISO: %s", err) err := fmt.Errorf("Error downloading ISO: %s", err)
state["error"] = err state["error"] = err
ui.Error(err.Error()) ui.Error(err.Error())
return multistep.ActionHalt
} }
break DownloadWaitLoop break DownloadWaitLoop
......
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