| commit | 40c4313edd403ebf4a666280fb8de50b7935fe20 | [log] [tgz] |
|---|---|---|
| author | Jenkins <jenkins@review.openstack.org> | Thu May 15 21:20:52 2014 +0000 |
| committer | Gerrit Code Review <review@openstack.org> | Thu May 15 21:20:52 2014 +0000 |
| tree | 0879aa7e06074b929796717fd2404253eed712a9 | |
| parent | 8c666cf22ba2e6b3a7b7f1d8e38a261ea6855506 [diff] | |
| parent | 26a28b4af5dde62b88ffedc9b8455aff0f6690e4 [diff] |
Merge "Use urandom rather than openssl for password gen"
diff --git a/stack.sh b/stack.sh index 19d47d6..8fb57c4 100755 --- a/stack.sh +++ b/stack.sh
@@ -410,7 +410,7 @@ echo "Invalid chars in password. Try again:" done if [ ! $pw ]; then - pw=`openssl rand -hex 10` + pw=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 20) fi eval "$var=$pw" echo "$var=$pw" >> $localrc