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

networking: document how to customize a NIC name #127

Closed
dustymabe opened this issue Aug 1, 2020 · 1 comment · Fixed by #146
Closed

networking: document how to customize a NIC name #127

dustymabe opened this issue Aug 1, 2020 · 1 comment · Fixed by #146
Assignees
Labels

Comments

@dustymabe
Copy link
Member

dustymabe commented Aug 1, 2020

This is somewhat described in coreos/fedora-coreos-tracker#553. For now, because of what we decided, you'd need to do:

In all cases, apply the name to the real root:

storage:
  files:
    - path: /etc/systemd/network/25-infra.link
      mode: 0644
      contents:
        inline: |
          [Match]
          MACAddress=12:34:56:78:9a:bc
          [Link]
          Name=infra

In the initrd via kernel argument only if you need this customization in the initrd:

ifname=infra:12:34:56:78:9a:bc

See coreos/fedora-coreos-tracker#553 for why you might want this.

Acceptance Criteria:

  • document how to set network interface via link file
  • (optional) document how to set network interface using kernel arguments
@dustymabe
Copy link
Member Author

@kelvinfan001 is working on this!

@kelvinfan001 kelvinfan001 linked a pull request Aug 7, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants