diff --git a/doc/source/user/quickstart.rst b/doc/source/user/quickstart.rst index 5df8263d50..38517f87d6 100644 --- a/doc/source/user/quickstart.rst +++ b/doc/source/user/quickstart.rst @@ -659,12 +659,10 @@ with a glance image and neutron networks. . /etc/kolla/admin-openrc.sh #centOS - cd /usr/share/kolla-ansible - ./init-runonce + /usr/share/kolla-ansible/init-runonce #ubuntu - cd /usr/local/share/kolla-ansible - ./init-runonce + /usr/local/share/kolla-ansible/init-runonce .. note:: diff --git a/tools/init-runonce b/tools/init-runonce index 9f3c0ff97f..883f5dfeed 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -29,9 +29,6 @@ for i in curl openstack; do exit fi 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 if [[ "${OS_USERNAME}" == "" ]]; then