aboutsummaryrefslogtreecommitdiffstats
path: root/stage1
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2017-08-21 10:15:08 +0100
committerSerge Schneider <[email protected]>2017-08-21 10:15:50 +0100
commitce46fac1d40b1387ee4f7e78a4e1d079e546471a (patch)
treeaaf608428baf2a8b7f3ddc0ce094ee4c87882167 /stage1
parent3cc13f2aa28cb5a1d55339fd0932333c4863c17a (diff)
Disable predictable network interface names
Diffstat (limited to 'stage1')
-rwxr-xr-xstage1/02-net-tweaks/00-run.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/stage1/02-net-tweaks/00-run.sh b/stage1/02-net-tweaks/00-run.sh
index 8d3b131..88fb857 100755
--- a/stage1/02-net-tweaks/00-run.sh
+++ b/stage1/02-net-tweaks/00-run.sh
@@ -3,6 +3,4 @@
install -m 644 files/ipv6.conf ${ROOTFS_DIR}/etc/modprobe.d/ipv6.conf
install -m 644 files/hostname ${ROOTFS_DIR}/etc/hostname
-on_chroot << EOF
-dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules
-EOF
+ln -s /dev/null ${ROOTFS_DIR}/etc/systemd/network/99-default.link