summaryrefslogtreecommitdiff
path: root/bin/updateConfig.sh
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@fsinf.at>2011-12-19 19:41:08 +0100
committerDavid Kaufmann <astra@fsinf.at>2011-12-19 19:41:08 +0100
commite0f15138acddc918b6b54db061be871621e0e37a (patch)
treede5871e08bf85d0ecb256bc6ea68113d9db60653 /bin/updateConfig.sh
parent7c0fa041ab311e585444330c4c65db935af0b24b (diff)
downloadconfig-e0f15138acddc918b6b54db061be871621e0e37a.tar.gz
remove localnet-hosts from pssh-update
Diffstat (limited to 'bin/updateConfig.sh')
-rwxr-xr-xbin/updateConfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/updateConfig.sh b/bin/updateConfig.sh
index 7385f2e..571bc4d 100755
--- a/bin/updateConfig.sh
+++ b/bin/updateConfig.sh
@@ -4,7 +4,7 @@
BASEDIR=`dirname $(readlink -f $0)`
cd ${BASEDIR}/../
-ALLHOSTS=`cat ~/.ssh/config | egrep "^Host" | egrep -v "nohome|noshell|offline" | sed 's/^Host //' | sed 's/ #.*//' | tr '\n' ' ' | sed 's/ $//' `
+ALLHOSTS=`cat ~/.ssh/config | egrep "^Host" | egrep -v "nohome|noshell|localnet|offline" | sed 's/^Host //' | sed 's/ #.*//' | tr '\n' ' ' | sed 's/ $//' `
HOSTS=${HOSTS:-$ALLHOSTS}
echo "loaded keys:"