From 8d01479b8def290a1547d8393217c3105112d32c Mon Sep 17 00:00:00 2001 From: Thilo Fromm Date: Thu, 25 Apr 2013 17:05:03 +0200 Subject: [PATCH] storage_deploy.sh: fix typo in cleanup, missing option Signed-off-by: Thilo Fromm --- storage_deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage_deploy.sh b/storage_deploy.sh index d4c7309..44637ae 100755 --- a/storage_deploy.sh +++ b/storage_deploy.sh @@ -25,7 +25,7 @@ cleanup() { rexec "$srv" "sed 's/.*\ storageautoinstaller@host/# ...key removed by auto-deploy script./' /root/.ssh/authorized_keys" \ || { log " ERROR removing installer ssh key from storage server $srv." log " ####### MANUAL ATTENTION REQUIRED #######" - return 1} + return 1; } return 0 @@ -179,7 +179,7 @@ main() { rexec "$storage_ip" "reboot" || return 1 wait_for_reboot 600 $storage_ip || { log " ABORT"; return 1; } - cleanup || return 1 + cleanup "$storage_ip" || return 1 log " S U C C E S S" log " Your storage server is now available at $storage_ip." -- 2.39.5