Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

googlecompute: allow to specify a private ip #6350

Closed
wants to merge 1 commit into from

Conversation

karmab
Copy link

@karmab karmab commented Jun 6, 2018

Adding the ability to specify network_ip to force a private ip in the image

@rickard-von-essen
Copy link
Collaborator

Could you write a quick description on when this would be useful.

@karmab
Copy link
Author

karmab commented Jun 6, 2018

@rickard-von-essen the use case is to create an image with a known ip, so that we can later on deploy instances with this same ip.
this is for instance needed when creating a kubernetes image (which will create a kube context with the corresponding ip, and also rely on a non changing hostname)

@rickard-von-essen
Copy link
Collaborator

That won't work. The instance launched from the resulting image will not necessarily have the same IP.

@karmab
Copy link
Author

karmab commented Jun 6, 2018 via email

@SwampDragons
Copy link
Contributor

This area is definitely not my strong suit, but I don't understand why, if you're forcing the IP when instantiating the instance, you need this to be an option in Packer.

@rickard-von-essen rickard-von-essen self-assigned this Jul 11, 2018
@rickard-von-essen
Copy link
Collaborator

IMHO I don't see any reason this should be supported.

@SwampDragons
Copy link
Contributor

Yeah... the use case is still somewhat unclear to me, and this sounds like something that needs to happen in the Kubernetes work instead of within Packer. I'm going to close for now because I am struggling to understand why this change is really needed.

@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants