See https://packer.io/docs/builders/vmware-iso.html#headless
On Tue, Oct 23, 2018 at 2:30 PM Enbanathan Elangovan <[email protected]> wrote: > sorry i'm new to packer.can you please let me know how to do that. > > 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/437897cd-e136-4fe5-ba6d-55d62ddc8208%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/437897cd-e136-4fe5-ba6d-55d62ddc8208%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CALz9Rt9afme0D%2BYBC9WGGhbczYGH%3DfPoS-qrVknvpSx92Dvrkg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
