Merge pull request #1287 from higebu/add-warning-message-to-vmware-esxi-driver
Resolves #1256, add warning mesasge to VMware ESXi driver
This commit is contained in:
commit
74ec811573
|
@ -23,7 +23,7 @@ func (c *StepUploadTools) Run(state multistep.StateBag) multistep.StepAction {
|
||||||
|
|
||||||
if c.RemoteType == "esx5" {
|
if c.RemoteType == "esx5" {
|
||||||
if err := driver.ToolsInstall(); err != nil {
|
if err := driver.ToolsInstall(); err != nil {
|
||||||
state.Put("error", fmt.Errorf("Couldn't mount VMware tools ISO."))
|
state.Put("error", fmt.Errorf("Couldn't mount VMware tools ISO. Please check the 'guest_os_type' in your template.json."))
|
||||||
}
|
}
|
||||||
return multistep.ActionContinue
|
return multistep.ActionContinue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue