diff options
| author | David Kaufmann <astra@fsinf.at> | 2011-12-19 19:41:08 +0100 |
|---|---|---|
| committer | David Kaufmann <astra@fsinf.at> | 2011-12-19 19:41:08 +0100 |
| commit | e0f15138acddc918b6b54db061be871621e0e37a (patch) | |
| tree | de5871e08bf85d0ecb256bc6ea68113d9db60653 /bin/updateConfig.sh | |
| parent | 7c0fa041ab311e585444330c4c65db935af0b24b (diff) | |
| download | config-e0f15138acddc918b6b54db061be871621e0e37a.tar.gz | |
remove localnet-hosts from pssh-update
Diffstat (limited to 'bin/updateConfig.sh')
| -rwxr-xr-x | bin/updateConfig.sh | 2 |
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:" |
