From c9ca2af8a2e07965ca472918769c728b385dbe44 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 29 Apr 2017 15:57:04 +0200 Subject: loop through hosts in reverse order Signed-off-by: Holger Levsen --- deploy_jdn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'deploy_jdn') diff --git a/deploy_jdn b/deploy_jdn index 765bcf97..3dbb20cb 100755 --- a/deploy_jdn +++ b/deploy_jdn @@ -168,6 +168,11 @@ get_arch_color() { } LOG=$(mktemp -u) +STSOH="" +for i in $HOSTS ; do + STSOH="$i $STSOH" +done +HOSTS=$STSOH for i in $HOSTS ; do echo -n "." command="$real_command" -- cgit v1.2.3-70-g09d2