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

Fix NAT and make it working for Terraform and Vagrant #41

Merged
merged 1 commit into from
Jan 23, 2021
Merged

Conversation

gianarb
Copy link
Contributor

@gianarb gianarb commented Jan 22, 2021

Commit b504810 introduced a NAT to make worker capable of reaching the
public internet via the provisioner.

But it also introduced a bug, it only works for the Vagrant setup as
Manny pointed out:

#33 (comment)

This is an attempt to fix it

@mmlb I would like to avoid additional conditions as part of the
setup.sh, we have already too many of them and they are not even easy to
dsicover. We have different entrypoint for those environment let's use them.

setup.sh Outdated
)

do_setup() (
o_setup() (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not look intentional.

@mmlb
Copy link
Contributor

mmlb commented Jan 22, 2021

Yep I think looks good, noting the same thing that @gauravgahlot mentioned :D.

Copy link
Contributor

@mmlb mmlb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, assuming you fix what @gauravgahlot mentioned

Commit b504810 introduced a NAT to make worker capable of reaching the
public internet via the provisioner.

But it also introduced a bug, it only works for the Vagrant setup as
Manny pointed out:

#33 (comment)

This is an attempt to fix it

Signed-off-by: Gianluca Arbezzano <[email protected]>
@gianarb gianarb added the ready-to-merge Signal to Mergify to merge the PR. label Jan 22, 2021
@mergify mergify bot merged commit 89a304f into master Jan 23, 2021
@gauravgahlot gauravgahlot deleted the fix-nat branch January 23, 2021 03:44
@gianarb gianarb mentioned this pull request Jan 26, 2021
ttwd80 pushed a commit to ttwd80/tinkerbell-playground that referenced this pull request Sep 7, 2024
Commit b504810 introduced a NAT to make worker capable of reaching the
public internet via the provisioner.

But it also introduced a bug, it only works for the Vagrant setup as
Manny pointed out:

tinkerbell#33 (comment)

This is an attempt to fix it

@mmlb I would like to avoid additional conditions as part of the
setup.sh, we have already too many of them and they are not even easy to
dsicover. We have different entrypoint for those environment let's use them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants