aboutsummaryrefslogtreecommitdiff
path: root/sshtool
diff options
context:
space:
mode:
Diffstat (limited to 'sshtool')
-rwxr-xr-xsshtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshtool b/sshtool
index 58b00ef..f6f8521 100755
--- a/sshtool
+++ b/sshtool
@@ -14,7 +14,7 @@ fi
shift 1
if [ -z "$1" ]; then
- NIXHOSTLIST=$(ls cluster/$CLUSTER/node | grep -v '\.site\.')
+ NIXHOSTLIST=$(ls cluster/$CLUSTER/node | grep '\.nix$' | grep -v '\.site\.')
else
NIXHOSTLIST="$@"
fi