From 3c48696e1d8262547441f13cad9bac6b1682a928 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Thu, 20 Mar 2014 13:35:16 +0000 Subject: [PATCH] Inject admin username and tenant name in config Tempest default credentials are now all set to None - see https://review.openstack.org/#/c/77602/ Injecting admin username and tenant name from the env variables. Change-Id: I6a48b407652006b0de3f79d28ea0d154741d5f62 --- elements/tempest/bin/run-tempest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elements/tempest/bin/run-tempest b/elements/tempest/bin/run-tempest index ab26f3e98..775fd3fda 100755 --- a/elements/tempest/bin/run-tempest +++ b/elements/tempest/bin/run-tempest @@ -70,6 +70,8 @@ set /files/opt/stack/tempest/etc/tempest.conf/DEFAULT/log_file tempest.log set /files/opt/stack/tempest/etc/tempest.conf/identity/uri $OS_AUTH_URL set /files/opt/stack/tempest/etc/tempest.conf/identity/region regionOne +set /files/opt/stack/tempest/etc/tempest.conf/identity/admin_username $OS_USERNAME +set /files/opt/stack/tempest/etc/tempest.conf/identity/admin_tenant_name $OS_TENANT_NAME set /files/opt/stack/tempest/etc/tempest.conf/identity/admin_password $OS_PASSWORD set /files/opt/stack/tempest/etc/tempest.conf/identity/username demo_t1 set /files/opt/stack/tempest/etc/tempest.conf/identity/tenant_name demo_t1