From 2aa06c8376d22ef6b68fb69be4e6113187a0eedd Mon Sep 17 00:00:00 2001 From: Thilo Fromm Date: Thu, 25 Apr 2013 17:18:32 +0200 Subject: [PATCH] storage_deploy.sh fix sed line Signed-off-by: Thilo Fromm --- storage_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage_deploy.sh b/storage_deploy.sh index 44637ae..378d285 100755 --- a/storage_deploy.sh +++ b/storage_deploy.sh @@ -22,7 +22,7 @@ cleanup() { local srv="$1" # remove installer key from list of root authorized keys - rexec "$srv" "sed 's/.*\ storageautoinstaller@host/# ...key removed by auto-deploy script./' /root/.ssh/authorized_keys" \ + rexec "$srv" "sed -i '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; } -- 2.39.5