From ffa552b2828fab451ee37fa3889a65ffe6b0158e Mon Sep 17 00:00:00 2001 From: caoyuan Date: Sat, 29 Oct 2016 22:09:37 +0800 Subject: [PATCH] Update the way of loading the admin-openrc.sh file TrivialFix Change-Id: I3cfa94d9f6202664a06c24d691376eb8759b922a --- doc/vagrant-dev-env.rst | 2 +- tools/deploy_aio.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/vagrant-dev-env.rst b/doc/vagrant-dev-env.rst index 8ed3d3e4c9..6e6267797d 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 bddb34e5c9..1ae96d78f1 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