Building an image with ubuntu 22.04 and custom IP fails #872
-
Hi, If I specify an IP in the network.pkrvars.hcl file, my build will fail. Is it possible that packer enables DHCP for the template i'm building but i'm forcing a static IP with the network.pkvars.hcl. Packer starts Thanks for any help you can provide, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 15 replies
-
I'll need to look into it before the next release. Looks like you're currently running off the |
Beta Was this translation helpful? Give feedback.
-
That's correct! Is it working in the production release? |
Beta Was this translation helpful? Give feedback.
-
I'm not getting the same results. I've switched to the latest v0.18.0 as well. I'll report back once I troubleshoot some more. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
I just can't get this to work. It picks up a DHCP address. |
Beta Was this translation helpful? Give feedback.
-
I noticed that you don't seem to have the working http server like I do. Am I missing something here? |
Beta Was this translation helpful? Give feedback.
-
Use of static IPs for most Linux distributions is available. |
Beta Was this translation helpful? Give feedback.
No, this is a feature in the upcoming release.