diff options
author | Serge Schneider <[email protected]> | 2017-08-21 10:15:08 +0100 |
---|---|---|
committer | Serge Schneider <[email protected]> | 2017-08-21 10:15:50 +0100 |
commit | ce46fac1d40b1387ee4f7e78a4e1d079e546471a (patch) | |
tree | aaf608428baf2a8b7f3ddc0ce094ee4c87882167 /stage1 | |
parent | 3cc13f2aa28cb5a1d55339fd0932333c4863c17a (diff) |
Disable predictable network interface names
Diffstat (limited to 'stage1')
-rwxr-xr-x | stage1/02-net-tweaks/00-run.sh | 4 |
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 |