nixcfg/deploy_passwords

5 lines
183 B
Text
Executable file

#!/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