Aligned local.conf content in devstack ReadMe file

Story: 2001066
Task: 4676

Change-Id: I4f1f9c2c8301483238318d1bf0ecb9345e7eed81
This commit is contained in:
Pradeep Kumar Velusamy 2017-06-12 16:51:30 +05:30
parent 7330b1c6ee
commit 027663f844
1 changed files with 28 additions and 20 deletions

View File

@ -13,37 +13,45 @@ To run Monasca Analytics in DevStack, do the following three steps.
1. Clone the DevStack repo.
git clone https://git.openstack.org/openstack-dev/devstack
```
git clone https://git.openstack.org/openstack-dev/devstack
```
2. Add the following to the DevStack local.conf file in the root of the devstack directory. You may
need to create the local.conf if it does not already exist.
\# BEGIN DEVSTACK LOCAL.CONF CONTENTS
# BEGIN DEVSTACK LOCAL.CONF CONTENTS
[[local|localrc]]
MYSQL_PASSWORD=secretmysql
DATABASE_PASSWORD=secretdatabase
RABBIT_PASSWORD=secretrabbit
ADMIN_PASSWORD=secretadmin
SERVICE_PASSWORD=secretservice
SERVICE_TOKEN=111222333444
```
[[local|localrc]]
MYSQL_PASSWORD=secretmysql
DATABASE_PASSWORD=secretdatabase
RABBIT_PASSWORD=secretrabbit
ADMIN_PASSWORD=secretadmin
SERVICE_PASSWORD=secretservice
SERVICE_TOKEN=111222333444
LOGFILE=$DEST/logs/stack.sh.log
LOGDIR=$DEST/logs
LOG_COLOR=False
LOGFILE=$DEST/logs/stack.sh.log
LOGDIR=$DEST/logs
LOG_COLOR=False
\# This line will enable all of Monasca Analytics.
enable_plugin monasca-analytics git://git.openstack.org/openstack/monasca-analytics
# This line will enable all of Monasca Analytics.
enable_plugin monasca-analytics git://git.openstack.org/openstack/monasca-analytics
```
\# END DEVSTACK LOCAL.CONF CONTENTS
# END DEVSTACK LOCAL.CONF CONTENTS
3. Run './stack.sh' from the root of the devstack directory.
If you want to run Monasca Analytics with the bare mininum of OpenStack components
you can add the following two lines to the local.conf file.
To run Monasca Analytics with the bare mininum of OpenStack components you can
add the following two lines to the local.conf file.
disable_all_services
enable_service rabbit mysql key
```
disable_all_services
enable_service rabbit mysql key
```
# License
```
# (C) Copyright 2016 FUJITSU LIMITED
@ -60,4 +68,4 @@ you can add the following two lines to the local.conf file.
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
```
```