diff options
| author | Simo Leone <leone.simo@gmail.com> | 2016-03-24 14:54:14 -0700 |
|---|---|---|
| committer | Simo Leone <leone.simo@gmail.com> | 2016-03-24 14:54:16 -0700 |
| commit | 7f6c910b21427b5fd51444139ec1a8c5cd4f1ca4 (patch) | |
| tree | 2940e7ccd2e447856bc61e38d1a58097948b8a21 | |
| parent | 14f8f146e3087ad5d57f2deb1b4a59c7e82d13ad (diff) | |
| download | compute-archlinux-image-builder-7f6c910b21427b5fd51444139ec1a8c5cd4f1ca4.tar.xz | |
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.
| -rwxr-xr-x | arch-image.py | 2 |
1 files changed, 2 insertions, 0 deletions
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') |
