aboutsummaryrefslogtreecommitdiff
path: root/deploy_passwords
diff options
context:
space:
mode:
Diffstat (limited to 'deploy_passwords')
-rwxr-xr-xdeploy_passwords5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy_passwords b/deploy_passwords
new file mode 100755
index 0000000..37c2143
--- /dev/null
+++ b/deploy_passwords
@@ -0,0 +1,5 @@
+#!/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