builder/vmware: always set msg.AutoAnswer
This commit is contained in:
parent
3fc00a2dfa
commit
acd9f3c9a3
|
@ -88,6 +88,9 @@ func (stepCreateVMX) Run(state multistep.StateBag) multistep.StepAction {
|
|||
vmxData["floppy0.fileName"] = floppyPathRaw.(string)
|
||||
}
|
||||
|
||||
// Set this so that no dialogs ever appear from Packer.
|
||||
vmxData["msg.autoAnswer"] = "true"
|
||||
|
||||
vmxPath := filepath.Join(config.OutputDir, config.VMName+".vmx")
|
||||
if err := WriteVMX(vmxPath, vmxData); err != nil {
|
||||
err := fmt.Errorf("Error creating VMX file: %s", err)
|
||||
|
@ -137,7 +140,6 @@ ide1:0.fileName = "{{ .ISOPath }}"
|
|||
ide1:0.deviceType = "cdrom-image"
|
||||
isolation.tools.hgfs.disable = "FALSE"
|
||||
memsize = "512"
|
||||
msg.autoAnswer = "true"
|
||||
nvram = "{{ .Name }}.nvram"
|
||||
pciBridge0.pciSlotNumber = "17"
|
||||
pciBridge0.present = "TRUE"
|
||||
|
|
Loading…
Reference in New Issue