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