Arch Linux droplet and systemd update warning

Posted March 10, 2014 4.6k 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:

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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)