We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d1dd92 + d759b5f commit b80917dCopy full SHA for b80917d
tools/kolla-feature-flags.sh
@@ -10,12 +10,12 @@ set -e
10
set -o pipefail
11
12
KOLLA_ANSIBLE_SRC=$1
13
-KOLLA_GROUP_VARS_ALL=${KOLLA_ANSIBLE_SRC}/ansible/group_vars/all.yml
+KOLLA_GROUP_VARS_ALL=${KOLLA_ANSIBLE_SRC}/ansible/group_vars/all
14
15
-if [[ ! -f $KOLLA_GROUP_VARS_ALL ]]; then
+if [[ ! -d $KOLLA_GROUP_VARS_ALL ]]; then
16
echo "Usage: $0 <path to kolla-ansible source>"
17
exit 1
18
fi
19
20
# Find all feature flags, strip the enable_ prefix and value, sort.
21
-cat ${KOLLA_GROUP_VARS_ALL} | grep '^enable_'| sed -e 's/enable_\(.*\):.*/ - \1/' | sort
+cat ${KOLLA_GROUP_VARS_ALL}/*.yml | grep '^enable_'| sed -e 's/enable_\(.*\):.*/ - \1/' | sort
0 commit comments