Fixed BUG - ipv6 was only disabled on brick01-head
authorAndy Witter <awitter@georgialibraries.org>
Sun, 14 Jan 2018 14:40:36 +0000 (09:40 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Sun, 14 Jan 2018 14:40:36 +0000 (09:40 -0500)
templates/setup-head.sh

index fe5a4e8..35b217a 100755 (executable)
@@ -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