GitHub user patrix added a comment to the discussion: Simple Script-Based CloudStack Installer
```shell generate_password() { openssl </dev/null >/dev/null 2>/dev/null if [ $? -eq 0 ] then passwd=`openssl rand -base64 40 | tr -d '/' | cut -c1-32 ` fi if [ -z "$passwd" ] then passwd=`dd if=/dev/urandom bs=32 count=1 2>/dev/null | od -x | head -n 1 | tr -d ' ' | cut -c8-40` fi if [ -z "$passwd" ] then passwd="password" fi echo "$passwd" } PASSWD=$(generate_password) # Random password with 32 characters ``` GitHub link: https://github.com/apache/cloudstack/discussions/9953#discussioncomment-11324972 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org