From Fedora Project Wiki
Provision Fedora CoreOS and configure NIC name
- Download and verify the latest FCOS next image (pick the right image for your environment).
- This test requires installing to a system with a known or customizable MAC address, such as bare metal, libvirt, or QEMU.
How to test
- Create an Ignition file. When writing the configuration, provide a systemd link file which customizes your NIC to a specific name. The documentation uses
infraas an example, but feel free to use another name of your choice. You'll also need to replace the MAC address with your NIC's MAC address. If using qemu, this is usually
52:54:00:12:34:56. If using libvirt, a custom MAC address can be configured through the UI.
- Launch your Fedora CoreOS system using this Ignition file. See the Quickstart and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).
- Repeat the test, but this time using a udev rule.
- You can SSH successfully into your FCOS system.
- The output of e.g.
ip addrshows the customized NIC name.
- The linked documentation makes sense, nothing is obviously missing, and the instructions are clear.