Disable ipv6 on bricks to stop added content lookup errors
authorAndy Witter <awitter@georgialibraries.org>
Sat, 6 Jan 2018 09:46:30 +0000 (04:46 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Sat, 6 Jan 2018 09:46:30 +0000 (04:46 -0500)
templates/setup-head.sh

index 3b08666..a79b437 100755 (executable)
@@ -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
 
 #