Have you checked whether you do not have a firewall between your host and your VMware VM? Most of the time if you can reach the VM is either
- Firewall - Not valid route from the host to the VMware IP address On Sunday, December 17, 2017 at 2:40:10 AM UTC+13, [email protected] wrote: > > Hi Rickard > > I've tried to set ssh_host with IP but unfortunately it does not work. > thank you > > Regards > > On Saturday, December 16, 2017 at 7:01:36 PM UTC+5:30, Rickard von Essen > wrote: >> >> You probably just have to set the IP in ssh_host, see >> https://www.packer.io/docs/templates/communicator.html#ssh_host >> >> On Dec 16, 2017 14:29, <[email protected]> wrote: >> >> Hi Alvaro, >> >> Thanks for quick response, I've attached the 'myproduct.json'. VM comes >> up with IP 172.15.0.40 (private IP) and I can ping other hosts in this >> network in this subnet from the host where packer is running. Strange thing >> is if make the ISO with dhcp enabled IP then OVA is exported successfully. >> >> Regards >> Ravi >> >> On Saturday, December 16, 2017 at 6:12:38 PM UTC+5:30, Alvaro Miranda >> Aguilera wrote: >> >>> hello >>> >>> packer + vmware usually will do the nat network for os installation. >>> this network need to have dhcp enabled to work >>> >>> if you are using a different network, can you share your packer template? >>> >>> can you share an screenshot of the network settings when the VM is on ? >>> >>> Thanks >>> Alvaro. >>> >>> On Sat, Dec 16, 2017 at 1:29 PM, <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> I'm using packer 1.1.2 and i'm trying to export VM as 'OVA' using >>>> 'virtualbox-iso' on debian 8.0. VM comes up with static IP but >>>> communicator >>>> as 'ssh' can not access and it gives out the 'SSH Timed out' >>>> If set IP of the installed ISO to dhcp then system generates the 'OVA' >>>> successfully. >>>> >>>> I've also made sure that host machine can access the the subnet in >>>> which VM having the static IP comes up. On the network, i can ping the >>>> hosts which have the same subnet as installed VM has, but it is not >>>> somehow >>>> possible to access the installed VM even manually after packer installed >>>> it >>>> and wait for it for SSH communication and ultimately fails. >>>> >>>> Does somebody knows what is wrong? >>>> >>>> Thank you in advance >>>> Regards >>>> Ravi >>>> >>>> -- >>>> 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/833c561d-902c-4bd9-8926-cba90a6050d8%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/packer-tool/833c561d-902c-4bd9-8926-cba90a6050d8%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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/e63b2ea0-d7cd-4518-88e3-08f933d019f8%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/e63b2ea0-d7cd-4518-88e3-08f933d019f8%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/660241db-712e-4db9-bf6b-0f9b99bcf95c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
