From: Andy Witter Date: Sat, 6 Jan 2018 09:46:30 +0000 (-0500) Subject: Disable ipv6 on bricks to stop added content lookup errors X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=27783c46e652752b186ecff6e7ac59c5d9bd50da;p=contrib%2Fpines%2Fgenasys.git Disable ipv6 on bricks to stop added content lookup errors --- 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 #