mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-05 22:23:18 -04:00
builder/vmware-iso: output upload error [GH-899]
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user