Fix to use "." to source script files

Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

Change-Id: Ifc19ac8bf788a137436e7b957798583bdbbeef79
This commit is contained in:
chao liu 2017-08-26 17:36:24 -07:00
parent d6451b6dab
commit 4296c9371e
2 changed files with 8 additions and 8 deletions

View File

@ -191,7 +191,7 @@ Step 1: Create a Python virtualenv
#. Activate the virtual environment::
source .tox/venv/bin/activate
. .tox/venv/bin/activate
#. Install the ironic client::
@ -313,13 +313,13 @@ daemons; you can observe their output and stop them with Ctrl-C at any time.
#. Start the API service in debug mode and watch its output::
cd ~/ironic
source .tox/venv/bin/activate
. .tox/venv/bin/activate
ironic-api -d --config-file etc/ironic/ironic.conf.local
#. Start the Conductor service in debug mode and watch its output::
cd ~/ironic
source .tox/venv/bin/activate
. .tox/venv/bin/activate
ironic-conductor -d --config-file etc/ironic/ironic.conf.local
Step 4: Interact with the running services
@ -387,13 +387,13 @@ help with that, but are not an exhaustive troubleshooting guide::
# reinstall ironic modules
cd ~/ironic
source .tox/venv/bin/activate
. .tox/venv/bin/activate
pip uninstall ironic
pip install -e .
# install and upgrade ironic and all python dependencies
cd ~/ironic
source .tox/venv/bin/activate
. .tox/venv/bin/activate
pip install -U -e .
@ -567,7 +567,7 @@ Run stack.sh::
Source credentials, create a key, and spawn an instance as the ``demo`` user::
source ~/devstack/openrc
. ~/devstack/openrc
# query the image id of the default cirros image
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)
@ -730,7 +730,7 @@ commands to build the documentation set:
- On your local machine::
# activate your development virtualenv
source .tox/venv/bin/activate
. .tox/venv/bin/activate
# build the docs
tox -edocs

View File

@ -98,7 +98,7 @@ description for DevStack is at :ref:`deploy_devstack`.
After the environment is built, you can create a volume with cinder and request
an instance with the volume to nova::
source ~/devstack/openrc
. ~/devstack/openrc
# query the image id of the default cirros image
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)