From 7f6c910b21427b5fd51444139ec1a8c5cd4f1ca4 Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Thu, 24 Mar 2016 14:54:14 -0700 Subject: revert to traditional ethernet device names Causes ethernet devices to be named eth* instead of using the new stable device naming. google-address-manager expects eth0 to be the name of the network interface (it's hardcoded), so this change stops it from spewing errors. --- arch-image.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch-image.py b/arch-image.py index 35ac5bd..9fd9e8f 100755 --- a/arch-image.py +++ b/arch-image.py @@ -370,6 +370,8 @@ def SetupNetwork(): utils.WriteFile('/etc/hosts', ETC_HOSTS) utils.WriteFile('/etc/sysctl.d/70-disable-ipv6.conf', ETC_SYSCTL_D_70_DISABLE_IPV6_CONF) + # https://wiki.archlinux.org/index.php/Network_configuration#Reverting_to_traditional_device_names + utils.Symlink('/dev/null', '/etc/udev/rules.d/80-net-setup-link.rules') utils.EnableService('dhcpcd.service') utils.EnableService('systemd-networkd.service') utils.EnableService('systemd-networkd-wait-online.service') -- cgit v1.3