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/plugin.sh | |
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/plugin.sh')
-rw-r--r-- | devstack/plugin.sh | 4 |
1 files changed, 2 insertions, 2 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 |