Skip to content

Commit 2700492

Browse files
committed
Fix tools/configure_tempest FLAVOR_LIST
Correct the grep expression in tools/configure_tempest.sh which generates the FLAVORS that tempest will boot. Fixes bug 1037347 Change-Id: I50352fd23ca1e5332592bb343821c6355b274e9f
1 parent 75e0354 commit 2700492

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/configure_tempest.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ IFS="$(echo -e "\n\r")"
139139
FLAVORS=""
140140
for line in $FLAVOR_LINES; do
141141
if [ -z $DEFAULT_INSTANCE_TYPE ]; then
142-
FLAVORS="$FLAVORS `echo $line | grep -v "^\(ID\|+--\)" | cut -d' ' -f2`"
142+
FLAVORS="$FLAVORS `echo $line | grep -v "^\(|\s*ID\|+--\)" | cut -d' ' -f2`"
143143
else
144-
FLAVORS="$FLAVORS `echo $line | grep -v "^\(ID\|+--\)" | grep "$DEFAULT_INSTANCE_TYPE" | cut -d' ' -f2`"
144+
FLAVORS="$FLAVORS `echo $line | grep -v "^\(|\s*ID\|+--\)" | grep "$DEFAULT_INSTANCE_TYPE" | cut -d' ' -f2`"
145145
fi
146146
done
147147
IFS=" "

0 commit comments

Comments
 (0)