Merge pull request #5277 from vronin/exportmessage

Show a message why VM export was skipped while building on VMWare Fusion
This commit is contained in:
Matthew Hooker 2017-08-23 14:07:00 -07:00 committed by GitHub
commit 348dd78ed4
2 changed files with 3 additions and 1 deletions

View File

@ -45,6 +45,7 @@ func (s *StepExport) Run(state multistep.StateBag) multistep.StepAction {
}
if c.RemoteType != "esx5" || s.Format == "" {
ui.Say("Skipping export of virtual machine (export is allowed only for ESXi and the format needs to be specified)...")
return multistep.ActionContinue
}

View File

@ -478,7 +478,8 @@ modify as well:
- `format` (string) - Either "ovf", "ova" or "vmx", this specifies the output
format of the exported virtual machine. This defaults to "ovf".
Before using this option, you need to install `ovftool`.
Before using this option, you need to install `ovftool`. This option
works currently only with option remote_type set to "esx5".
### VNC port discovery