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
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