df6472e0af
Sometimes passwords, URLs and other values of the variables can contain special symbols, for example the dollar sign, using these values can lead to unpredictable attempts of the variable expansions in the Bash scripts, such as openrc file, so we need to use single quotes for all variables values. Change-Id: Ib2aabadd0ffd6a8dc2591245f29b4478e03d92fc Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
11 lines
482 B
Django/Jinja
11 lines
482 B
Django/Jinja
# Clear any old environment that may conflict.
|
|
for key in $( set | awk '{FS="="} /^OS_/ {print $1}' ); do unset $key ; done
|
|
export OS_PROJECT_DOMAIN_NAME='Default'
|
|
export OS_USER_DOMAIN_NAME='Default'
|
|
export OS_PROJECT_NAME='{{ octavia_service_auth_project }}'
|
|
export OS_USERNAME='{{ octavia_keystone_user }}'
|
|
export OS_PASSWORD='{{ octavia_keystone_password }}'
|
|
export OS_AUTH_URL='{{ keystone_internal_url }}'
|
|
export OS_INTERFACE='internal'
|
|
export OS_ENDPOINT_TYPE='internalURL'
|