summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/test/infest-cac-centos7/notes
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-14 00:41:36 +0200
committerlassulus <lassulus@lassul.us>2017-07-14 00:41:36 +0200
commit8d128c769aec24d8989db8220d680ea6f4735193 (patch)
tree8c8a6132fda88ba989bbb7fc170b54b1ca242987 /krebs/5pkgs/test/infest-cac-centos7/notes
parentc4627764062a42f8d952ff90557c1e0d8735485f (diff)
parent58380c82848c3db0bd6c3d74904153f3464c2098 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs/test/infest-cac-centos7/notes')
-rwxr-xr-xkrebs/5pkgs/test/infest-cac-centos7/notes8
1 files changed, 4 insertions, 4 deletions
diff --git a/krebs/5pkgs/test/infest-cac-centos7/notes b/krebs/5pkgs/test/infest-cac-centos7/notes
index 2a3ebd6fc..e89edffcb 100755
--- a/krebs/5pkgs/test/infest-cac-centos7/notes
+++ b/krebs/5pkgs/test/infest-cac-centos7/notes
@@ -15,7 +15,7 @@ krebs_cred=${krebs_cred-./cac.json}
# tinc retiolum key for host
retiolum_key=${retiolum_key-./retiolum.rsa_key.priv}
# build this host
-user=${user:-shared}
+user=${user:-krebs}
system=${target_system:-test-centos7}
log(){
@@ -125,9 +125,9 @@ done
clear_defer >/dev/null
defer "cac-api delete $id;$old_trapstr"
-mkdir -p shared/2configs/temp
+mkdir -p krebs/2configs/temp
cac-api generatenetworking $id > \
- shared/2configs/temp/networking.nix
+ krebs/2configs/temp/networking.nix
# new temporary ssh key we will use to log in after install
ssh-keygen -f $krebs_ssh -N ""
cp "$retiolum_key" $krebs_secrets/retiolum.rsa_key.priv
@@ -135,7 +135,7 @@ cp "$retiolum_key" $krebs_secrets/retiolum.rsa_key.priv
# additionally we set the ssh key we generated
ip=$(cac-api getserver $id | jq -r .ip)
-cat > shared/2configs/temp/dirs.nix <<EOF
+cat > krebs/2configs/temp/dirs.nix <<EOF
_: {
krebs.build.source = {
secrets.file = "$krebs_secrets";