aboutsummaryrefslogtreecommitdiff
path: root/deploy_wesher_key
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-04-20 14:14:15 +0200
committerAlex Auvolat <alex@adnab.me>2022-04-20 14:14:15 +0200
commita8717f9bf5dbc9b102d872678f4e5d3d2790a408 (patch)
tree3cbee336ec67f9a1758de462480a8eccce3e0342 /deploy_wesher_key
parentd056b385d71d5b33165ab87cbedffb243d168c8a (diff)
downloadnixcfg-a8717f9bf5dbc9b102d872678f4e5d3d2790a408.tar.gz
nixcfg-a8717f9bf5dbc9b102d872678f4e5d3d2790a408.zip
manage wesher key with pass
Diffstat (limited to 'deploy_wesher_key')
-rwxr-xr-xdeploy_wesher_key4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy_wesher_key b/deploy_wesher_key
new file mode 100755
index 0000000..8f7ed77
--- /dev/null
+++ b/deploy_wesher_key
@@ -0,0 +1,4 @@
+#!/usr/bin/env ./sshtool
+
+write_pass deuxfleurs/cluster/$CLUSTER/wesher_key /var/lib/wesher/secrets
+cmd systemctl restart wesher