summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xos-plugins/plugins/vmchooser/files/xmlfilter.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmchooser/files/xmlfilter.sh b/os-plugins/plugins/vmchooser/files/xmlfilter.sh
index bc6ee2b8..5ef153cb 100755
--- a/os-plugins/plugins/vmchooser/files/xmlfilter.sh
+++ b/os-plugins/plugins/vmchooser/files/xmlfilter.sh
@@ -26,8 +26,11 @@
# - filter for slxgrp (which comes from /etc/machine-setup)
#
-if [ -f ${PLUGINCONFDIR}/vmchooser.conf ]; then
- . ${PLUGINCONFDIR}/vmchooser.conf
+# include default directories
+. /etc/openslx.conf
+
+if [ -f ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf ]; then
+ . ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf
fi
for FILE in $1/*.xml; do