aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcaoyuan <cao.yuan@99cloud.net>2016-10-29 22:09:37 +0800
committercaoyuan <cao.yuan@99cloud.net>2016-10-29 22:21:26 +0800
commitffa552b2828fab451ee37fa3889a65ffe6b0158e (patch)
treee2c877d2c717d2011ea97c68aaa9ee2fd9a38c83
parent198e8d2d6f9249864c6d589c33c48b81b45e5add (diff)
downloadkolla-ffa552b2828fab451ee37fa3889a65ffe6b0158e.tar.gz
kolla-ffa552b2828fab451ee37fa3889a65ffe6b0158e.zip
Update the way of loading the admin-openrc.sh file
TrivialFix Change-Id: I3cfa94d9f6202664a06c24d691376eb8759b922a
-rw-r--r--doc/vagrant-dev-env.rst2
-rwxr-xr-xtools/deploy_aio.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/vagrant-dev-env.rst b/doc/vagrant-dev-env.rst
index 8ed3d3e4c..6e6267797 100644
--- a/doc/vagrant-dev-env.rst
+++ b/doc/vagrant-dev-env.rst
@@ -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.
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index bddb34e5c..1ae96d78f 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -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