summaryrefslogtreecommitdiff
path: root/edit-secrets
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2014-02-25 09:33:32 +0100
committerFredrik Thulin <fredrik@thulin.net>2014-02-25 09:33:32 +0100
commita9a96696eee9cee87ef03ed7daf9df34bbc6c7b5 (patch)
treefc5b90a8201835da243454b1c6a088085dc66af0 /edit-secrets
parent297537d0a96b712fb997d14a2150911dd047c964 (diff)
parent8d2f9cc27ca9af1c16f7aa9597a93de00ed0ae2e (diff)
Merge branch 'master' of git.nordu.net:sunet-opssunet-ops-2014-02-25-v01
Diffstat (limited to 'edit-secrets')
-rwxr-xr-xedit-secrets4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-secrets b/edit-secrets
index 08ec257..2c05197 100755
--- a/edit-secrets
+++ b/edit-secrets
@@ -32,8 +32,8 @@ if [ "x$1" != "x-l" ]; then
trap "rm -f $TMPFILE $TMPFILE2" EXIT
- ssh -t $host /var/cache/cosmos/repo/edit-secrets -l
- scp -q $host:$LAST_OUTPUT_FILENAME $TMPFILE
+ ssh -t root@$host /var/cache/cosmos/repo/edit-secrets -l
+ scp -q root@$host:$LAST_OUTPUT_FILENAME $TMPFILE
if grep ^"STATUS=UPDATED" $TMPFILE > /dev/null; then
# extract the path of the file that should be updated in the Cosmos repo