diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-12-21 23:24:03 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-12-21 23:24:03 +1300 |
commit | 47605e6c137e3934c052be5fb084198735d9697c (patch) | |
tree | e0aec47fc061f388d9253c356317698a3bb6ef97 | |
parent | 27bdfcf7535d77664ad0d0548e3657be1b9af6dd (diff) | |
download | trove-47605e6c137e3934c052be5fb084198735d9697c.tar.gz |
Fix Trove periodic CI job
Change-Id: Ib53308b33ce7e16ac0ff027f6af6635797ba5ae6
-rw-r--r-- | integration/scripts/functions_qemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/scripts/functions_qemu b/integration/scripts/functions_qemu index 635b1451..0bc3a83d 100644 --- a/integration/scripts/functions_qemu +++ b/integration/scripts/functions_qemu @@ -25,7 +25,7 @@ function build_vm() { # In dev mode, the trove guest agent needs to download trove code from # trove-taskmanager host during service initialization. - if [[ "${dev_mode}" == "true" ]]; then + if [[ "${dev_mode,,}" == "true" ]]; then host_ip=$(ip route get 8.8.8.8 | head -1 | awk '{print $7}') export CONTROLLER_IP=${CONTROLLER_IP:-${host_ip}} export PATH_TROVE=${PATH_TROVE} @@ -63,7 +63,7 @@ function build_vm() { elementes="$elementes ${guest_os}" - if [[ "${dev_mode}" == "false" ]]; then + if [[ "${dev_mode,,}" == "false" ]]; then elementes="$elementes pip-and-virtualenv" elementes="$elementes pip-cache" elementes="$elementes guest-agent" |