When i run headless i get the following
==> 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: vnc://127.0.0.1:5982
==> 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.
Regards
Enbanathan.E
On Tuesday, October 23, 2018 at 5:51:53 PM UTC+5:30, Enbanathan Elangovan
wrote:
>
> Hi,
>
> 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: vnc://127.0.0.1:5982
> ==> 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.
>
> Regards
> Enbanathan.E
>
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/c352e59a-bce1-4c02-9fb2-06e0b0e8fb73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.