Merge "Set default pass in aio scripts to be random"
This commit is contained in:
commit
1e7d433d98
@ -19,7 +19,8 @@ set -e -u -x
|
||||
|
||||
|
||||
## Vars ----------------------------------------------------------------------
|
||||
export ADMIN_PASSWORD=${ADMIN_PASSWORD:-"secrete"}
|
||||
DEFAULT_PASSWORD=$(head -c 64 /dev/urandom | tr -dc 'a-zA-Z0-9')
|
||||
export ADMIN_PASSWORD=${ADMIN_PASSWORD:-$DEFAULT_PASSWORD}
|
||||
export SERVICE_REGION=${SERVICE_REGION:-"RegionOne"}
|
||||
export DEPLOY_SWIFT=${DEPLOY_SWIFT:-"yes"}
|
||||
export GET_PIP_URL=${GET_PIP_URL:-"https://bootstrap.pypa.io/get-pip.py"}
|
||||
|
@ -56,8 +56,10 @@ outputs:
|
||||
value: { get_attr: [ OSADAIO, first_address ] }
|
||||
OSADAIO_password:
|
||||
description: The password for all the things.
|
||||
value: secrete
|
||||
value: { get_attr: [ OSADAIO_random_pass, value ] }
|
||||
resources:
|
||||
OSADAIO_random_pass:
|
||||
type: OS::Heat::RandomString
|
||||
OSADAIO_port:
|
||||
type: OS::Neutron::Port
|
||||
properties:
|
||||
|
Loading…
x
Reference in New Issue
Block a user