Update init.sh.jinja2

This commit is contained in:
qiaofeng1227 2022-08-02 10:19:29 +08:00 committed by GitHub
parent 330f11d394
commit 74aaf4f63b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/bin/bash
# support special char [!"`$%()[]{},.*+-:;<=>?_~/|]
new_password=$(pwgen -ncCs 14 1)=
# support special char ["`$%()[]{},.*+-:;<>?_~/|]
new_password=$(pwgen -ncCs 14 1))
sudo sleep 10s
sudo sh -c 'echo "init-password started at" $(date -d now) 1>> /tmp/init_debug.txt'