Clarifying what worked for me across all the servers where I need this
config:

cat <<EOF | tee /etc/systemd/network/10-netplan-ceph.link 
[Match]
OriginalName=eth1

[Link]
Name=ceph
WakeOnLan=off
EOF

# Manual: ensure /etc/netplan/NN-FOO.yaml refers to desired name, no set-name:
# network:
#   ethernets:
#     ...
#     ceph:
#       addresses:
#       - 10.5.12.2/16
#

update-initramfs -u
reboot now

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770082

Title:
  systemd-networkd not renaming devices on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1770082/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to