Correct the brick head nodes file name and actually copy it to /home/opensrf
authorAndy Witter <awitter@georgialibraries.org>
Fri, 13 Dec 2019 17:49:20 +0000 (12:49 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Fri, 13 Dec 2019 17:49:20 +0000 (12:49 -0500)
templates/setup.sh
templates/utility/utility_head_ssh_keys.sh

index 7131acb..e841e8e 100755 (executable)
@@ -514,6 +514,7 @@ cat utility_options.txt >> /etc/profile
            echo '        rm ./.GenaSYS_FirstRun' >> /home/opensrf/.bashrc
            echo '    fi' >> /home/opensrf/.bashrc
            echo 'fi' >> /home/opensrf/.bashrc
+           cp -f brickhead_nodes.txt /home/opensrf
         else
            echo -e COL_BR_RED"***Warning.. utility_head_ssh_keys.sh is missing"
         fi
index 48a3082..9d63f3c 100755 (executable)
@@ -44,7 +44,7 @@ then
 
     fi
     
-    for NODE in $(cat brick_heads.txt)
+    for NODE in $(cat brickhead_nodes.txt)
         do
             echo
             echo Setting up SSH keys for OpenSRF node: $NODE