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:
parent
d6451b6dab
commit
4296c9371e
@ -191,7 +191,7 @@ Step 1: Create a Python virtualenv
|
|||||||
|
|
||||||
#. Activate the virtual environment::
|
#. Activate the virtual environment::
|
||||||
|
|
||||||
source .tox/venv/bin/activate
|
. .tox/venv/bin/activate
|
||||||
|
|
||||||
#. Install the ironic client::
|
#. 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::
|
#. Start the API service in debug mode and watch its output::
|
||||||
|
|
||||||
cd ~/ironic
|
cd ~/ironic
|
||||||
source .tox/venv/bin/activate
|
. .tox/venv/bin/activate
|
||||||
ironic-api -d --config-file etc/ironic/ironic.conf.local
|
ironic-api -d --config-file etc/ironic/ironic.conf.local
|
||||||
|
|
||||||
#. Start the Conductor service in debug mode and watch its output::
|
#. Start the Conductor service in debug mode and watch its output::
|
||||||
|
|
||||||
cd ~/ironic
|
cd ~/ironic
|
||||||
source .tox/venv/bin/activate
|
. .tox/venv/bin/activate
|
||||||
ironic-conductor -d --config-file etc/ironic/ironic.conf.local
|
ironic-conductor -d --config-file etc/ironic/ironic.conf.local
|
||||||
|
|
||||||
Step 4: Interact with the running services
|
Step 4: Interact with the running services
|
||||||
@ -387,13 +387,13 @@ help with that, but are not an exhaustive troubleshooting guide::
|
|||||||
|
|
||||||
# reinstall ironic modules
|
# reinstall ironic modules
|
||||||
cd ~/ironic
|
cd ~/ironic
|
||||||
source .tox/venv/bin/activate
|
. .tox/venv/bin/activate
|
||||||
pip uninstall ironic
|
pip uninstall ironic
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
# install and upgrade ironic and all python dependencies
|
# install and upgrade ironic and all python dependencies
|
||||||
cd ~/ironic
|
cd ~/ironic
|
||||||
source .tox/venv/bin/activate
|
. .tox/venv/bin/activate
|
||||||
pip install -U -e .
|
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 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
|
# query the image id of the default cirros image
|
||||||
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)
|
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::
|
- On your local machine::
|
||||||
|
|
||||||
# activate your development virtualenv
|
# activate your development virtualenv
|
||||||
source .tox/venv/bin/activate
|
. .tox/venv/bin/activate
|
||||||
|
|
||||||
# build the docs
|
# build the docs
|
||||||
tox -edocs
|
tox -edocs
|
||||||
|
@ -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
|
After the environment is built, you can create a volume with cinder and request
|
||||||
an instance with the volume to nova::
|
an instance with the volume to nova::
|
||||||
|
|
||||||
source ~/devstack/openrc
|
. ~/devstack/openrc
|
||||||
|
|
||||||
# query the image id of the default cirros image
|
# query the image id of the default cirros image
|
||||||
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)
|
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)
|
||||||
|
Loading…
Reference in New Issue
Block a user