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: I6d217c259cb6cd0e8413e50b6722fc4d0478ea1b
This commit is contained in:
parent
78b0574dbc
commit
4be4850928
@ -63,7 +63,7 @@ Now that the RC file is available from the container, you can run any OpenStack
|
||||
.. code-block:: bash
|
||||
|
||||
sudo docker run --rm -it -v $PWD:/tmp/vmtp berrypatch/vmtp bash
|
||||
root@af7cedc3866f:/# source /tmp/vmtp/admin-openrc.sh
|
||||
root@af7cedc3866f:/# . /tmp/vmtp/admin-openrc.sh
|
||||
|
||||
|
||||
4.1. Verify flavor names
|
||||
|
@ -18,7 +18,7 @@ Installation on Ubuntu/Debian
|
||||
$ sudo apt-get install libxml2-dev libxslt-dev libffi-dev libz-dev libyaml-dev libssl-dev
|
||||
$ # create a virtual environment
|
||||
$ virtualenv ./vmtpenv
|
||||
$ source ./vmtpenv/bin/activate
|
||||
$ . ./vmtpenv/bin/activate
|
||||
$ git clone git://git.openstack.org/openstack/vmtp
|
||||
$ cd vmtp
|
||||
$ pip install -r requirements-dev.txt
|
||||
@ -35,7 +35,7 @@ Installation on RHEL/CentOS
|
||||
$ sudo pip install git-review
|
||||
$ # create a virtual environment
|
||||
$ virtualenv ./vmtpenv
|
||||
$ source ./vmtpenv/bin/activate
|
||||
$ . ./vmtpenv/bin/activate
|
||||
$ git clone git://git.openstack.org/openstack/vmtp
|
||||
$ cd vmtp
|
||||
$ pip install -r requirements-dev.txt
|
||||
@ -60,7 +60,7 @@ First, download XCode from App Store, then execute below commands:
|
||||
$ sudo pip install virtualenv
|
||||
$ # create a virtual environment
|
||||
$ virtualenv ./vmtpenv
|
||||
$ source ./vmtpenv/bin/activate
|
||||
$ . ./vmtpenv/bin/activate
|
||||
$ git clone git://git.openstack.org/openstack/vmtp
|
||||
$ cd vmtp
|
||||
$ pip install -r requirements-dev.txt
|
||||
@ -100,7 +100,7 @@ In the VMTP virtual environment, you can run any OpenStack CLI command (since th
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
source admin-openrc.sh
|
||||
. admin-openrc.sh
|
||||
|
||||
|
||||
4.1. Verify flavor names
|
||||
|
@ -46,7 +46,7 @@ Create a virtual environment for Python, and install VMTP:
|
||||
.. code-block:: bash
|
||||
|
||||
$ virtualenv ./vmtpenv
|
||||
$ source ./vmtpenv/bin/activate
|
||||
$ . ./vmtpenv/bin/activate
|
||||
$ pip install vmtp
|
||||
$ vmtp -h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user