From d856d3a62a73e3c522058bf7ed729a226bb2877b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bremv=C3=A5g?= Date: Thu, 28 Mar 2019 19:13:09 +0100 Subject: [PATCH] Disable IPv6 to work --- dkms-install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dkms-install.sh b/dkms-install.sh index 45587a3..5e2326c 100755 --- a/dkms-install.sh +++ b/dkms-install.sh @@ -20,4 +20,15 @@ RESULT=$? echo "Finished running dkms install steps." + + if echo "net.ipv6.conf.all.disable_ipv6 = 1 + net.ipv6.conf.default.disable_ipv6 = 1 + net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf; then + echo "Disabled IPv6 Successfuly " + else + echo "Could not disable IPv6" + fi + + + exit $RESULT