aboutsummaryrefslogtreecommitdiff
path: root/deploy_passwords
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-23 00:07:02 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-23 00:07:02 +0100
commit827987d2018ce1a48697b10c039c3cf2ec0d1a19 (patch)
tree7bc091f28411c8a2a4ff78982d11e8c026e3936a /deploy_passwords
parent94a9c8afa8471cbb328262e6385fbda3383f7dde (diff)
downloadnixcfg-827987d2018ce1a48697b10c039c3cf2ec0d1a19.tar.gz
nixcfg-827987d2018ce1a48697b10c039c3cf2ec0d1a19.zip
cleanup
Diffstat (limited to 'deploy_passwords')
-rwxr-xr-xdeploy_passwords4
1 files changed, 1 insertions, 3 deletions
diff --git a/deploy_passwords b/deploy_passwords
index 37c2143..3b21ff3 100755
--- a/deploy_passwords
+++ b/deploy_passwords
@@ -1,5 +1,3 @@
#!/usr/bin/env ./sshtool
-write_pass deuxfleurs/cluster/$CLUSTER/passwords /root/deploy_tmp_passwords
-cmd 'chpasswd -e < /root/deploy_tmp_passwords'
-cmd rm /root/deploy_tmp_passwords
+pipe_pass deuxfleurs/cluster/$CLUSTER/passwords "chpasswd -e"