Disable predictable network interface names

This commit is contained in:
Serge Schneider 2017-08-21 10:15:08 +01:00
parent 3cc13f2aa2
commit ce46fac1d4

View file

@ -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