Packer build web se...
 
Notifications
Clear all

Packer build web server uses 169 address

1 Posts
1 Users
0 Reactions
209 Views
Brandon Lee
(@brandon-lee)
Posts: 554
Member Admin
Topic starter
 

If you are using Hashicorp (IBM Smile ) Packer and you notice the web server it spins up for your packer build to connect back to is using a 169 address which is an automatic private address, it will cause issues. I have run into this situation where I have virtualization solutions of some sort installed, whether Hyper-V, VMware Workstation, or Docker. 

However, there is a workaround if Packer "chooses" to use a 169 address instead of your connectable address. You can add the following line to your main Packer build file, replacing the IP address with your IP address you want Packer to "listen" on.

http_ip = "10.1.149.27"
 
Posted : 25/04/2024 10:21 pm