mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-28 12:31:32 -05:00
builder/vmware: downcase more vmx data
This commit is contained in:
parent
8062fd729d
commit
aa59cd55ae
1 changed files with 2 additions and 2 deletions
|
|
@ -85,8 +85,8 @@ func (s *stepConfigureVNC) Run(state multistep.StateBag) multistep.StepAction {
|
|||
log.Printf("Found available VNC port: %d", vncPort)
|
||||
|
||||
vmxData := ParseVMX(string(vmxBytes))
|
||||
vmxData["RemoteDisplay.vnc.enabled"] = "TRUE"
|
||||
vmxData["RemoteDisplay.vnc.port"] = fmt.Sprintf("%d", vncPort)
|
||||
vmxData["remotedisplay.vnc.enabled"] = "TRUE"
|
||||
vmxData["remotedisplay.vnc.port"] = fmt.Sprintf("%d", vncPort)
|
||||
|
||||
if err := WriteVMX(vmxPath, vmxData); err != nil {
|
||||
err := fmt.Errorf("Error writing VMX data: %s", err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue