Commit 9f7670a5 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware-iso: output upload error [GH-899]

parent b4a57bd3
......@@ -41,7 +41,9 @@ func (*stepUploadTools) Run(state multistep.StateBag) multistep.StepAction {
}
if err := comm.Upload(config.ToolsUploadPath, f); err != nil {
state.Put("error", fmt.Errorf("Error uploading VMware Tools: %s", err))
err := fmt.Errorf("Error uploading VMware Tools: %s", err)
state.Put("error", err)
ui.Error(err.Error())
return multistep.ActionHalt
}
......
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