From b21afcd9b9b5e98950813e57b14e4384ca730e49 Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Fri, 15 Jan 2016 00:16:01 -0500 Subject: [PATCH] Fix BUG - hardcoded hostname - duhh --- GenaSYS.sh | 4 ++-- templates/setup_sshkeys.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GenaSYS.sh b/GenaSYS.sh index 208dd88..d8281e5 100755 --- a/GenaSYS.sh +++ b/GenaSYS.sh @@ -25,8 +25,8 @@ PURPOSE_="Generate config files needed for Evergreen-ILS Cluster" SYNOPSIS_="$NAME_" REQUIRES_="standard GNU commands, apt, dpkg" - VERSION_="1.62" - DATE_="2010-11-23; last update: 2016-01-14" + VERSION_="1.63" + DATE_="2010-11-23; last update: 2016-01-15" AUTHOR_="Andy Witter " URL_="http://evergreen-ils.org" CATEGORY_="devel" diff --git a/templates/setup_sshkeys.sh b/templates/setup_sshkeys.sh index f95bc16..9c8ba4a 100755 --- a/templates/setup_sshkeys.sh +++ b/templates/setup_sshkeys.sh @@ -52,7 +52,7 @@ if cat /etc/passwd |grep -q opensrf echo #su - opensrf -c "ssh-copy-id -i $PUB_KEY opensrf@$NODE" ssh-copy-id -i $PUB_KEY opensrf@$NODE -o StrictHostKeyChecking=no - su - opensrf -c "ssh gsdev-brick01-head -o StrictHostKeyChecking=no -C 'echo $NODE OK'" + su - opensrf -c "ssh $NODE -o StrictHostKeyChecking=no -C 'echo $NODE OK'" done else echo "user opensrf does not exist create the user" -- 2.11.0