diff options
-rwxr-xr-x | deploy.sh | 8 |
1 files changed, 7 insertions, 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 |