Can I set the HTTPIP to a specific address?

683 views
Skip to first unread message

Alexander Lehmann

unread,
Jul 11, 2017, 5:12:33 AM7/11/17
to Packer
I am currently using packer on Windows with Virtualbox and VMware Workstation builders.

Due to some strange firewall setting (which I cannot change currently), the IP address of the HTTPIP web server is not reachable when using vmware, but works in Virtualbox.

I have worked around that first by running nginx on the local machine to provide the ks file and setting the url to the ip of the main interface and since that worked then by changing the entry in the vmware builder to http://<localaddress>:{{ .HTTPPort }} which works correctly as well.

I was wondering if it is possible to force the HTTPIP variable to a specific value so that I can keep the builder with HTTPIP.


Rickard von Essen

unread,
Jul 11, 2017, 6:22:45 AM7/11/17
to packe...@googlegroups.com
Unfortunately you can't change that. But I think it should use a vmnet
IP which should really not be managed by some broken firewall
software.

// Rickard
> --
> 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/218d6493-bd78-4625-93de-6b94fbe4b968%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Alvaro Miranda Aguilera

unread,
Jul 11, 2017, 11:28:59 AM7/11/17
to packe...@googlegroups.com
if the files are small, you can use floppy to out the files into a virtual floppy drive


--
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+unsubscribe@googlegroups.com.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages