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

Setting Networks with Packer #272

Open
Timo604 opened this issue Jun 21, 2022 · 0 comments
Open

Setting Networks with Packer #272

Timo604 opened this issue Jun 21, 2022 · 0 comments
Labels
research Topics that need to be understood better before implementation

Comments

@Timo604
Copy link
Collaborator

Timo604 commented Jun 21, 2022

Documenting a conversation had with rylagek about this:

Currently packer leaves the templates on the NEO_SPRN_LAN network, but with the static IP for when it get moved onto the range network.

This should be fine as when terraform does the networking the network should be changed to whatever it should be. It may be worth looking into if packer can handle that, but we don't think its possible or should be done for the following reasons:

  1. Packer setting the network is outside its expected responsibilities. Terraform should be handling that
  2. Packer giving the interface the static IP means it shouldn't matter what network gets plugged into that interface
  3. It would take weird configuration with packer to give the shutdown signal, assign the static IP, and then "swap the cables". It's inelegant and almost certainly unnecessary
@Timo604 Timo604 added the research Topics that need to be understood better before implementation label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research Topics that need to be understood better before implementation
Projects
None yet
Development

No branches or pull requests

1 participant