allow for subset of nodes

This commit is contained in:
Alex 2021-11-18 15:40:06 +01:00
parent a225d3bcbd
commit 4836b03b8f
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1

View file

@ -2,7 +2,13 @@
cd $(dirname $0) cd $(dirname $0)
for NIXHOST in $(ls node); do if [ -z "$@" ]; then
NIXHOSTLIST=$(ls node)
else
NIXHOSTLIST="$@"
fi
for NIXHOST in $NIXHOSTLIST; do
NIXHOST=${NIXHOST%.*} NIXHOST=${NIXHOST%.*}
if [ -z "$SSH_USER" ]; then if [ -z "$SSH_USER" ]; then