-
Notifications
You must be signed in to change notification settings - Fork 86
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
Restore network configuration via kernel cli #571
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR! :)
It would be good to introduce an fn var(key: &str) -> Option<String>
in env
akin to std::env::var
.
The variables could then be defined with macros and with less redundancy, similar to how it was before eb2a46f.
If you would rather have me do these changes, just say so.
Also, please squash your commits in the end. :)
I agree that would make sense, I will try to implement that :) |
8ed7bcc
to
1560ee6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just two minor suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
bors r+
Restores the ability to set the network IP address, gateway and subnet mask via the kernel commandline arguments
-ip
,-gateway
and-mask
.Closes #522