Currently I am trying to write a PR for including the IP address of the 
host machine as a environment variable. I am using the packer templates 
from kaorimatz <https://github.com/kaorimatz/packer-templates>. By default 
it should do NAT between the VM and the host. The problem is that when the 
VM boots and it tries to load the preseed file it fails as it cannot 
connect to the ip 10.0.2.2.

I have attached pictures for both the NAT and Host-Only networks I 
currently have. I created a Ubuntu VM manually and i can ping both 
10.0.2.15 and 10.0.2.2 when the machine has booted. Am i doing something 
wrong with packer?

Thanks,
Luke

-- 
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/e39a891a-3dbf-416c-b139-4f556f909ed7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to