Sorry Centos6.8 On Monday, October 17, 2016 at 3:23:58 PM UTC-7, Siva Abbannagari wrote: > > It is Centos 6.6, > > It is getting the IP , Actually I see the Ip on the VMWARE welcome screen > and can connect to it as well. > Whether that ip is returned back to packer or no I am not aware of it. > > This What I have done, In VMWARE workstation I opened the Instances and > went to console on the VMWARE login screen it has the IP ,I can login to > that IP. > > > > Thanks, > Siva > > On Monday, October 17, 2016 at 1:56:17 PM UTC-7, Alvaro Miranda Aguilera > wrote: >> >> seems the VM is not starting the network, so packer can't ssh into. >> >> When you turn this VM on does get ip from dhcp and you can ssh to the IP >> it gets? >> >> Whats the OS ? >> >> >> >> On Mon, Oct 17, 2016 at 9:36 PM, Siva Abbannagari <siva.abb...@gmail.com> >> wrote: >> >>> Hi Alvaro, >>> >>> Please find logs below: >>> My Packer version is 0.10.1 >>> >>> *Warnings for build 'vmware-vmx':* >>> >>> >>> ** A shutdown_command was not specified. Without a shutdown command, >>> Packer* >>> >>> *will forcibly halt the virtual machine, which may result in data loss.* >>> >>> >>> *==> vmware-vmx: Pausing after run of step 'StepPrepareTools'. Press >>> enter to continue.* >>> >>> *==> vmware-vmx: Pausing after run of step 'StepOutputDir'. Press enter >>> to continue.* >>> >>> *==> vmware-vmx: Pausing after run of step 'StepCreateFloppy'. Press >>> enter to continue.* >>> >>> *==> vmware-vmx: Cloning source VM...* >>> >>> *==> vmware-vmx: Pausing after run of step 'StepCloneVMX'. Press enter >>> to continue.* *==> vmware-vmx: Pausing after run of step >>> 'StepConfigureVMX'. Press enter to continue.* *==> vmware-vmx: Pausing >>> after run of step 'StepSuppressMessages'. Press enter to continue.* *==> >>> vmware-vmx: Starting HTTP server on port 9001* >>> >>> *==> vmware-vmx: Pausing after run of step 'StepHTTPServer'. Press enter >>> to continue.* *==> vmware-vmx: Pausing after run of step >>> 'StepConfigureVNC'. Press enter to continue.* *==> vmware-vmx: Starting >>> virtual machine...* >>> >>> vmware-vmx: The VM will be run headless, without a GUI. If you want >>> to >>> >>> vmware-vmx: view the screen of the VM, connect via VNC without a >>> password to >>> >>> vmware-vmx: 127.0.0.1:5928 >>> >>> *==> vmware-vmx: Waiting 10s for boot...* >>> >>> *==> vmware-vmx: Pausing after run of step 'StepRun'. Press enter to >>> continue.* *==> vmware-vmx: Connecting to VM via VNC* >>> >>> *==> vmware-vmx: Typing the boot command over VNC...* >>> >>> *==> vmware-vmx: Pausing after run of step 'StepTypeBootCommand'. Press >>> enter to continue.* *==> vmware-vmx: Waiting for SSH to become >>> available...* >>> >>> *==> vmware-vmx: Timeout waiting for SSH.* >>> >>> *==> vmware-vmx: Pausing before cleanup of step 'StepTypeBootCommand'. >>> Press enter to continue.* *==> vmware-vmx: Pausing before cleanup of >>> step 'StepRun'. Press enter to continue.* *==> vmware-vmx: Stopping >>> virtual machine...* >>> >>> *==> vmware-vmx: Pausing before cleanup of step 'StepConfigureVNC'. >>> Press enter to continue.* *==> vmware-vmx: Pausing before cleanup of >>> step 'StepHTTPServer'. Press enter to continue.* *==> vmware-vmx: >>> Pausing before cleanup of step 'StepSuppressMessages'. Press enter to >>> continue.* *==> vmware-vmx: Pausing before cleanup of step >>> 'StepConfigureVMX'. Press enter to continue.* *==> vmware-vmx: Pausing >>> before cleanup of step 'StepCloneVMX'. Press enter to continue.* *==> >>> vmware-vmx: Pausing before cleanup of step 'StepCreateFloppy'. Press enter >>> to continue.* *==> vmware-vmx: Pausing before cleanup of step >>> 'StepOutputDir'. Press enter to continue.* *==> vmware-vmx: Deleting >>> output directory...* >>> >>> *==> vmware-vmx: Pausing before cleanup of step 'StepPrepareTools'. >>> Press enter to continue.* *Build 'vmware-vmx' errored: Timeout waiting >>> for SSH.* >>> >>> >>> ==> Some builds didn't complete successfully and had errors: >>> >>> --> vmware-vmx: Timeout waiting for SSH. >>> >>> >>> ==> Builds finished but no artifacts were created. >>> >>> >>> >>> >>> >>> On Friday, October 14, 2016 at 12:37:44 AM UTC-7, Alvaro Miranda >>> Aguilera wrote: >>>> >>>> hello >>>> >>>> assuming there is a vmx file here: /tmp/abc.vmx >>>> >>>> when you run packer build >>>> >>>> what happens? >>>> What should be happening and is not happening? >>>> >>>> PACKER_LOG=1 packer build <templatename> >>>> >>>> that should provide more information. >>>> >>>> Thanks >>>> Alvaro. >>>> >>>> >>>> >>>> On Thu, Oct 13, 2016 at 11:55 PM, Siva Abbannagari < >>>> siva.abb...@gmail.com> wrote: >>>> >>>>> Hi Thanks for reply below is my build.json file >>>>> >>>>> { >>>>> >>>>> "builders": [ >>>>> >>>>> { >>>>> >>>>> "type": "vmware-vmx", >>>>> >>>>> "source_path": "/tmp/abc.vmx", >>>>> >>>>> "vm_name": "abc-test-vm", >>>>> >>>>> "ssh_username": "root", >>>>> >>>>> "ssh_password": "ProspectHills", >>>>> >>>>> "http_directory" : "preseeds", >>>>> >>>>> "http_port_min" : 9001, >>>>> >>>>> "http_port_max" : 9001, >>>>> >>>>> "ssh_wait_timeout": "1000s", >>>>> >>>>> "headless": true >>>>> >>>>> } >>>>> >>>>> ] >>>>> >>>>> } >>>>> >>>>> On Tuesday, October 11, 2016 at 3:59:41 AM UTC-7, Alvaro Miranda >>>>> Aguilera wrote: >>>>>> >>>>>> hello >>>>>> >>>>>> not enough information i am afraid. >>>>>> >>>>>> Can you share a copy of your files in a github repo for review? >>>>>> >>>>>> Thanks >>>>>> Alvaro. >>>>>> >>>>>> On Mon, Oct 10, 2016 at 8:22 PM, Siva Abbannagari < >>>>>> siva.abb...@gmail.com> wrote: >>>>>> >>>>>>> I am trying to build an vmware appliance with packer. >>>>>>> >>>>>>> I have a base vmx file which i am just trying to connect to the >>>>>>> machine with SSH after launching with packer, but its failing to ssh >>>>>>> though >>>>>>> I manually can do ssh to that box, But packer is not able to. >>>>>>> >>>>>>> any inputs? >>>>>>> >>>>>>> >>>>>>> *Build 'vmware-vmx' errored: Timeout waiting for SSH* >>>>>>> >>>>>>> -- >>>>>>> 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 packer-tool...@googlegroups.com. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/packer-tool/4cf38050-1c9e-4996-8ba1-8cca319617d8%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/packer-tool/4cf38050-1c9e-4996-8ba1-8cca319617d8%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Alvaro >>>>>> >>>>>> -- >>>>> 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 packer-tool...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/packer-tool/7a083a53-49ed-4dba-a66c-1e1f2a81d9e6%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/packer-tool/7a083a53-49ed-4dba-a66c-1e1f2a81d9e6%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> Alvaro >>>> >>>> -- >>> 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 packer-tool...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/packer-tool/26d53d03-75ce-43c3-a8c3-21977c489d2d%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/packer-tool/26d53d03-75ce-43c3-a8c3-21977c489d2d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Alvaro >> >>
-- 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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/bd0a988d-07fa-4df9-b4e6-e0df1b513cda%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.