summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/os-plugins/plugins/vmchooser/files/xmlfilter.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh b/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh
index 5196992c..0252d9a6 100755
--- a/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh
+++ b/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh
@@ -33,7 +33,7 @@ if [ -f ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf ]; then
. ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf
fi
-for FILE in $1/*.xml; do
+for FILE in $(find $1 -iname *.xml); do
# filter all xmls which aren't set active
if [ $(grep "<active param=.*true.*" ${FILE} | wc -l) -eq 1 ]; then
if [ -n ${vmchooser_env} ]; then