summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Caletka <ondrej@caletka.cz>2019-07-01 14:21:44 +0200
committerXECDesign <XECDesign@users.noreply.github.com>2019-07-01 13:21:44 +0100
commit3db1168fbdd68fa02383a77041ae5682db69b44c (patch)
tree096b34e52ac4d8bbbae803856416b0b0f2280baf
parent4ca539cb459ca6676e9e6a74f303fbd4a372429f (diff)
Remove obsolete IPv6 turnoff (#300)
Turning off IPv6 by aliasing `net-pf-10` to `off` does not work anymore. Also, turning off IPv6 on system level breaks apps depending on IPv6 loopback or IPv6 link-local addresssing and creates issues in both dual-stack and IPv6-only environments. Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
-rwxr-xr-xstage1/02-net-tweaks/00-run.sh1
-rw-r--r--stage1/02-net-tweaks/files/ipv6.conf3
2 files changed, 0 insertions, 4 deletions
diff --git a/stage1/02-net-tweaks/00-run.sh b/stage1/02-net-tweaks/00-run.sh
index 96a1774..a49b4b0 100755
--- a/stage1/02-net-tweaks/00-run.sh
+++ b/stage1/02-net-tweaks/00-run.sh
@@ -1,6 +1,5 @@
#!/bin/bash -e
-install -m 644 files/ipv6.conf "${ROOTFS_DIR}/etc/modprobe.d/ipv6.conf"
install -m 644 files/hostname "${ROOTFS_DIR}/etc/hostname"
ln -sf /dev/null "${ROOTFS_DIR}/etc/systemd/network/99-default.link"
diff --git a/stage1/02-net-tweaks/files/ipv6.conf b/stage1/02-net-tweaks/files/ipv6.conf
deleted file mode 100644
index 1a1c1a6..0000000
--- a/stage1/02-net-tweaks/files/ipv6.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-# Don't load ipv6 by default
-alias net-pf-10 off
-#alias ipv6 off