builder/vmware: disable VNC before packaging

pull/2291/head
Mitchell Hashimoto 11 years ago
parent 1aa1399e85
commit 9bc0dfa389

@ -55,6 +55,9 @@ func (s StepCleanVMX) Run(state multistep.StateBag) multistep.StepAction {
vmxData[ide+"filename"] = "auto detect"
}
ui.Message("Disabling VNC server...")
vmxData["remotedisplay.vnc.enabled"] = "FALSE"
// Rewrite the VMX
if err := WriteVMX(vmxPath, vmxData); err != nil {
state.Put("error", fmt.Errorf("Error writing VMX: %s", err))

Loading…
Cancel
Save