diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-10-11 14:35:11 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-10-11 14:35:12 +1300 |
commit | fc0c4fff4cd56a2dc88d083454c75ac2079f3fc8 (patch) | |
tree | c49e90d8b10c3bf0a75fd83df858424f415ecf92 /devstack | |
parent | 71c41379877428408e64e55b696c9395721c9880 (diff) | |
download | trove-fc0c4fff4cd56a2dc88d083454c75ac2079f3fc8.tar.gz |
Rename devstack variable TROVE_DISABLE_IMAGE_SETUP
Rename TROVE_DISABLE_IMAGE_SETUP to TROVE_ENABLE_IMAGE_BUILD to avoid
double negative definition.
Change-Id: Iede80c39bb2a7aaf3c0453bd67f85375fa5ee76c
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/plugin.sh | 4 | ||||
-rw-r--r-- | devstack/settings | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 237d15b8..0b4e9041 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -436,8 +436,8 @@ function configure_tempest_for_trove { # Use trovestack to create guest image and register the image in the datastore. function create_guest_image { - TROVE_DISABLE_IMAGE_SETUP=`echo ${TROVE_DISABLE_IMAGE_SETUP,,}` - if [[ ${TROVE_DISABLE_IMAGE_SETUP} == "true" ]]; then + TROVE_ENABLE_IMAGE_BUILD=`echo ${TROVE_ENABLE_IMAGE_BUILD,,}` + if [[ ${TROVE_ENABLE_IMAGE_BUILD} == "false" ]]; then echo "Skip creating guest image." return 0 fi diff --git a/devstack/settings b/devstack/settings index 7ad3bb83..15623836 100644 --- a/devstack/settings +++ b/devstack/settings @@ -86,5 +86,5 @@ enable_service trove tr-api tr-tmgr tr-cond # Nova to use a single MQ for the computes to talk to the scheduler. CELLSV2_SETUP=singleconductor -# Trove image configuration, by default we don't build image. -TROVE_DISABLE_IMAGE_SETUP=${TROVE_DISABLE_IMAGE_SETUP:-"true"} +# Enable or disable the Trove guest image build during devstack installation. +TROVE_ENABLE_IMAGE_BUILD=${TROVE_ENABLE_IMAGE_BUILD:-"true"} |