summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-08-04 14:55:06 +0200
committermakefu <github@syntax-fehler.de>2015-08-04 14:55:06 +0200
commit7d75cf113fc2ed694e100cd1e6e0f040ef870f19 (patch)
tree3071730e380cf61791d81dc71606046418d48b5b
parent00bc48d90f95bf9d5de2da6b6c82bca7d78b87f2 (diff)
fix mkdir /root/root@<host>/secret
previously /root/root@<host>/secret folder was created on the destination host but /root/secret/ is required. This commit fixes this behavior and creates the correct folder for bootstrapping
-rw-r--r--krebs/3modules/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/default.nix b/krebs/3modules/default.nix
index fb25f8178..e677ba5ea 100644
--- a/krebs/3modules/default.nix
+++ b/krebs/3modules/default.nix
@@ -55,7 +55,7 @@ let
--exclude .git \
--exclude .graveyard \
--exclude old \
- --rsync-path="mkdir -p \"$dst\" && rsync" \
+ --rsync-path="mkdir -p \"$2\" && rsync" \
--usermap=\*:0 \
--groupmap=\*:0 \
--delete-excluded \