From d589845423ce54cab8e9f92197e1a72cd0d13072 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 Feb 2019 04:10:46 +0100 Subject: [PATCH] Disable those name supposedly 'predictive' interface names --- stage3/00-install-yunohost/00-run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stage3/00-install-yunohost/00-run.sh b/stage3/00-install-yunohost/00-run.sh index 2c630bc..ca82535 100755 --- a/stage3/00-install-yunohost/00-run.sh +++ b/stage3/00-install-yunohost/00-run.sh @@ -8,6 +8,12 @@ echo 'supersede domain-search "";' >> /etc/dhcp/dhclient.conf echo 'supersede search ""; ' >> /etc/dhcp/dhclient.conf EOF +# Disable those damn supposedly "predictive" interface names +# c.f. https://unix.stackexchange.com/a/338730 +on_chroot << EOF +ln -s /dev/null /etc/systemd/network/99-default.link +EOF + # Avahi and mysql/mariadb needs to do some stuff which conflicts with # the "change the root password asap" so we disable it. In fact, now # that YunoHost 3.3 syncs the password with admin password at