Arch Linux droplet and systemd update warning

March 10, 2014 2.9k views
This is just a warning to Arch Linux users who update the the latest systemd. Systemd now has "Predictable Network Interface Names". More info can be found here: Updating to the newest version will break networking! Requiring manual user changes. More info can be found here:
1 Answer
This is probably a bit hackish, but here's how I worked around this after updating systemd:

# Set the netcfg default wired interface to the new interface name
# set WIRED_INTERACE="ens3" /etc/conf.d/netcfg

# Setup network@ens3 service with the previous eth0 static IP configuration
ln -s /etc/conf.d/network\@eth0 /etc/conf.d/network\@ens3
ln -s /etc/systemd/system/network\@.service /etc/systemd/system/\@ens3.service
systemctl disable network@eth0.service
systemctl enable network@ens3.service

(I also updated the kernel during this - not sure if that's relevant)
Have another answer? Share your knowledge.