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

Allow specifying an interface to bind to: #362

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

jacobweinstock
Copy link
Member

Description

Users with multiple interfaces can limit listening to a single interface.

Why is this needed

Fixes: #361

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

Users with multiple interfaces can limit listening
to a single interface.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
@jacobweinstock jacobweinstock added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 1, 2023
@@ -143,3 +146,59 @@ func newCLI(cfg *config, fs *flag.FlagSet) *ffcli.Command {
UsageFunc: customUsageFunc,
}
}

Copy link

Choose a reason for hiding this comment

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

Not sure why these 3 functions were added, they are not being used anywhere else in the PR

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, i moved them in from another file that didn't need to exist. Sorry, it was just a clean up item!

Copy link

Choose a reason for hiding this comment

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

sounds good, pr LGTM, once merged ill work on moving from boots 0.8.0 to the latest smee version then!

@jacobweinstock jacobweinstock added the ready-to-merge Signal to Mergify to merge the PR. label Nov 2, 2023
@mergify mergify bot merged commit fab9834 into tinkerbell:main Nov 2, 2023
5 checks passed
@jacobweinstock jacobweinstock deleted the bind-interface branch November 2, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Binding DHCP server to a specific interface instead of 0.0.0.0
3 participants