Show a message why VM export was skipped while building on VMWare Fusion/Workstation
This commit is contained in:
parent
1de4be0483
commit
cb75796389
@ -45,6 +45,7 @@ func (s *StepExport) Run(state multistep.StateBag) multistep.StepAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if c.RemoteType != "esx5" || s.Format == "" {
|
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
|
return multistep.ActionContinue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -478,7 +478,8 @@ modify as well:
|
|||||||
|
|
||||||
- `format` (string) - Either "ovf", "ova" or "vmx", this specifies the output
|
- `format` (string) - Either "ovf", "ova" or "vmx", this specifies the output
|
||||||
format of the exported virtual machine. This defaults to "ovf".
|
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
|
### VNC port discovery
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user