-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add alpine support #45
Conversation
lsb_release may generate n/a if it's unable to detect the distro or version. This ignores those values and falls back to using the metadata data.
dceda0f
to
73e6abc
Compare
Alpine uses mdev which currently generates the interface names eth* Discovered interfaces could come from a udev enabled system resulting in names like enp* which is not typically seen in Alpine. Typically metadata also uses the eth* naming scheme, so for mdev we'll switch to using the metadata names for an interface rather than the discovered name.
""" | ||
|
||
mactab = """\ | ||
# This file was automatically generated by the equinix metal installation environment. |
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.
can we get this as Equinix Metal instead, please
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.
i fixed this in a later commit
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.
LGTM!
This adds support for configuring networking on Alpine.