From: Andy Witter Date: Sun, 14 Jan 2018 14:40:36 +0000 (-0500) Subject: Fixed BUG - ipv6 was only disabled on brick01-head X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=edf77b0781ab92cef446c4e68555401febeb3a0d;p=contrib%2Fpines%2Fgenasys.git Fixed BUG - ipv6 was only disabled on brick01-head --- diff --git a/templates/setup-head.sh b/templates/setup-head.sh index fe5a4e8..35b217a 100755 --- a/templates/setup-head.sh +++ b/templates/setup-head.sh @@ -294,13 +294,14 @@ if cat /etc/hostname|grep -q brick01-head Prep_DB_9_X fi 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 - -# ### Setup NFS mounts for the brick heads if ! grep -q "NFS Mounts for Evergreen" /etc/fstab