From 27783c46e652752b186ecff6e7ac59c5d9bd50da Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Sat, 6 Jan 2018 04:46:30 -0500 Subject: [PATCH] Disable ipv6 on bricks to stop added content lookup errors --- templates/setup-head.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/setup-head.sh b/templates/setup-head.sh index 3b08666..a79b437 100755 --- a/templates/setup-head.sh +++ b/templates/setup-head.sh @@ -254,6 +254,10 @@ if cat /etc/hostname|grep -q brick01-head Prep_DB_9_X fi fi +### Disable ipv6 on bricks to stop added content lookup errors. +echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> /etc/sysctl.conf +echo 'net.ipv6.conf.default.disable_ipv6 = 1' >> /etc/sysctl.conf +echo 'net.ipv6.conf.lo.disable_ipv6 = 1' >> /etc/sysctl.conf fi # -- 2.11.0