allow for subset of nodes
This commit is contained in:
parent
a225d3bcbd
commit
4836b03b8f
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,13 @@
|
|||
|
||||
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%.*}
|
||||
|
||||
if [ -z "$SSH_USER" ]; then
|
||||
|
|
Loading…
Reference in a new issue