When i run the command ./packer build -var-file=myenv_conf.json vmware/local/centos_base.json. I get the following error.
==> pnda_template_base: Downloading or copying ISO
pnda_template_base: Downloading or copying: file:///root/pnda/packer/iso/CentOS-7-x86_64-Minimal-1804.iso
==> pnda_template_base: Creating virtual machine disk
==> pnda_template_base: Building and writing VMX file
==> pnda_template_base: Starting HTTP server on port 8850
==> pnda_template_base: Starting virtual machine...
pnda_template_base: The VM will be run headless, without a GUI. If you want to
pnda_template_base: view the screen of the VM, connect via VNC with the password "" to
==> pnda_template_base: Error starting VM: VMware error: Error: The operation was canceled
==> pnda_template_base: Waiting 4.421432709s to give VMware time to clean up...
==> pnda_template_base: Deleting output directory...
Build 'pnda_template_base' errored: Error starting VM: VMware error: Error: The operation was canceled
==> Some builds didn't complete successfully and had errors:
--> pnda_template_base: Error starting VM: VMware error: Error: The operation was canceled
==> Builds finished but no artifacts were created.
Can anyone help me on this. I'm attaching the log file.