Skip to content

Commit 8da5656

Browse files
committed
Move ENABLED_SERVICES to stackrc.
allow us to do things like that : ENABLED_SERVICES="$ENABLED_SERVICES,swift" in localrc instead of having to copy the full config from stack.sh. Fixes bug 951598. Change-Id: I17e168473540760bcfa40a752ff2c266bd9b7044
1 parent d9f0e91 commit 8da5656

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

stack.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ fi
8383
# If ``localrc`` exists, then ``stackrc`` will load those settings. This is
8484
# useful for changing a branch or repository to test other versions. Also you
8585
# can store your other settings like **MYSQL_PASSWORD** or **ADMIN_PASSWORD** instead
86-
# of letting devstack generate random ones for you.
86+
# of letting devstack generate random ones for you. You can customize
87+
# which services to install as well in your localrc.
8788
source ./stackrc
8889

8990
# Destination path for installation ``DEST``
@@ -181,9 +182,6 @@ M_HOST=${M_HOST:-localhost}
181182
# Melange MAC Address Range
182183
M_MAC_RANGE=${M_MAC_RANGE:-FE-EE-DD-00-00-00/24}
183184

184-
# Specify which services to launch. These generally correspond to screen tabs
185-
ENABLED_SERVICES=${ENABLED_SERVICES:-g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit}
186-
187185
# Name of the lvm volume group to use/create for iscsi volumes
188186
VOLUME_GROUP=${VOLUME_GROUP:-nova-volumes}
189187
VOLUME_NAME_PREFIX=${VOLUME_NAME_PREFIX:-volume-}

stackrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Find the other rc files
22
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
33

4+
# Specify which services to launch. These generally correspond to
5+
# screen tabs. If you like to add other services that are not enabled
6+
# by default you can append them in your ENABLED_SERVICES variable in
7+
# your localrc. For example for swift you can just add this in your
8+
# localrc to add it with the other services:
9+
# ENABLED_SERVICES="$ENABLED_SERVICES,swift"
10+
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit
11+
412
# compute service
513
NOVA_REPO=https://github.com/openstack/nova.git
614
NOVA_BRANCH=master

0 commit comments

Comments
 (0)