diff options
| author | Steven Dake <stdake@cisco.com> | 2015-03-20 13:31:45 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-03-20 13:41:08 -0700 |
| commit | 3f4c45fac55690e62d0ecfa4bdf47ee59912459b (patch) | |
| tree | f3089b5ef283b59b5f7566c2c2e34574f62edd8d /tools | |
| parent | ed617a59f80307920367050f63e316e3ef939825 (diff) | |
| download | kolla-3f4c45fac55690e62d0ecfa4bdf47ee59912459b.tar.gz kolla-3f4c45fac55690e62d0ecfa4bdf47ee59912459b.zip | |
Add ADMIN_USER_PASSWORD to genenv tool
The genenv tool was generating the wrong password for the openrc
file as a result of recent keystone rework. This patch fixes that
problem.
Change-Id: I169e3255e3f3ef57938861c31ef4e342d9a32cbc
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/genenv | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/genenv b/tools/genenv index 91ac42cc4..cd2a3bd00 100755 --- a/tools/genenv +++ b/tools/genenv @@ -19,6 +19,9 @@ MY_DEV=$(ip route get $(ip route | awk '$1 == "default" {print $3}') | echo MY_IP=$MY_IP echo MY_DEV=$MY_DEV +# Admin user password +ADMIN_USER_PASSWORD=steakfordinner + # Database HOST_IP=$MY_IP MYSQL_ROOT_PASSWORD=kolla @@ -65,11 +68,12 @@ CONFIG_NETWORK=True cat > ./openrc <<EOF export OS_AUTH_URL="http://${KEYSTONE_PUBLIC_SERVICE_HOST}:5000/v2.0" export OS_USERNAME=$ADMIN_TENANT_NAME -export OS_PASSWORD=$PASSWORD +export OS_PASSWORD=$ADMIN_USER_PASSWORD export OS_TENANT_NAME=$ADMIN_TENANT_NAME EOF cat > ./compose/openstack.env <<EOF +ADMIN_USER_PASSWORD=$ADMIN_USER_PASSWORD ADMIN_TENANT_NAME=$ADMIN_TENANT_NAME CONFIG_NETWORK=$CONFIG_NETWORK DB_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD |
