From 3db1168fbdd68fa02383a77041ae5682db69b44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Caletka?= Date: Mon, 1 Jul 2019 14:21:44 +0200 Subject: [PATCH] Remove obsolete IPv6 turnoff (#300) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- stage1/02-net-tweaks/00-run.sh | 1 - stage1/02-net-tweaks/files/ipv6.conf | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 stage1/02-net-tweaks/files/ipv6.conf 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