Update the way of loading the admin-openrc.sh file

TrivialFix

Change-Id: I3cfa94d9f6202664a06c24d691376eb8759b922a
This commit is contained in:
caoyuan 2016-10-29 22:09:37 +08:00
parent 198e8d2d6f
commit ffa552b282
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ On Ubuntu 14.04 or later::
Validate OpenStack is operational::
kolla-ansible post-deploy
source /etc/kolla/admin-openrc.sh
. /etc/kolla/admin-openrc.sh
openstack user list
Or navigate to http://172.28.128.254/ with a web browser.

View File

@ -29,7 +29,7 @@ function copy_logs {
function sanity_check {
# Wait for service ready
sleep 15
source /etc/kolla/admin-openrc.sh
. /etc/kolla/admin-openrc.sh
# TODO(Jeffrey4l): Restart the memcached container to cleanup all cache.
# Remove this after this bug is fixed
# https://bugs.launchpad.net/oslo.cache/+bug/1590779