Merge "Don't change directory while running init-runonce"
This commit is contained in:
commit
e57944b6fe
@ -659,12 +659,10 @@ with a glance image and neutron networks.
|
|||||||
. /etc/kolla/admin-openrc.sh
|
. /etc/kolla/admin-openrc.sh
|
||||||
|
|
||||||
#centOS
|
#centOS
|
||||||
cd /usr/share/kolla-ansible
|
/usr/share/kolla-ansible/init-runonce
|
||||||
./init-runonce
|
|
||||||
|
|
||||||
#ubuntu
|
#ubuntu
|
||||||
cd /usr/local/share/kolla-ansible
|
/usr/local/share/kolla-ansible/init-runonce
|
||||||
./init-runonce
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ for i in curl openstack; do
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# Move to top level directory
|
|
||||||
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
|
||||||
cd "$(dirname "$REAL_PATH")/.."
|
|
||||||
|
|
||||||
# Test for credentials set
|
# Test for credentials set
|
||||||
if [[ "${OS_USERNAME}" == "" ]]; then
|
if [[ "${OS_USERNAME}" == "" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user