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 bootstrap containers to manage network configuration #2558

Merged
merged 3 commits into from
Nov 10, 2022

Conversation

jpculp
Copy link
Member

@jpculp jpculp commented Nov 7, 2022

Description of changes:

Gives bootstrap containers the ability to write files to /var/lib/netdog. This can serve as an alternative/overriding location to store a net.toml.

Also cleans up some clippy warnings.

Testing done:

Bootstrap container was able to configure network by outputting a /var/lib/netdog/net.toml file.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Allows bootstrap containers to manage network configuration.
@jpculp jpculp requested review from bcressey and zmrow November 7, 2022 19:13
@jpculp jpculp changed the title Allows bootstrap containers to manage network configuration Allow bootstrap containers to manage network configuration Nov 7, 2022
@jpculp jpculp marked this pull request as ready for review November 8, 2022 00:12
Allows bootstrap containers to override network configuration by writing
`net.toml` to an alternative location, `/var/lib/netdog/`, which takes
precedence over the default `/var/lib/bottlerocket/net.toml`.
@jpculp
Copy link
Member Author

jpculp commented Nov 10, 2022

Implemented @bcressey's suggestion and switched to a clippy exception for the interface.name warning.

@jpculp jpculp requested a review from bcressey November 10, 2022 00:49
Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

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

🎮

@jpculp jpculp merged commit 8526528 into bottlerocket-os:develop Nov 10, 2022
@jpculp jpculp deleted the alt-net-config-file branch November 10, 2022 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants