From 994aa36c095470f1c163e32b28fa324f7376f127 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Sun, 21 Mar 2010 19:50:12 +0100 Subject: qemukvm angepasst... geht noch nicht :( --- os-plugins/plugins/vmgrid/files/run-vmgrid.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os-plugins/plugins/vmgrid') diff --git a/os-plugins/plugins/vmgrid/files/run-vmgrid.sh b/os-plugins/plugins/vmgrid/files/run-vmgrid.sh index 386695bf..4a09f237 100644 --- a/os-plugins/plugins/vmgrid/files/run-vmgrid.sh +++ b/os-plugins/plugins/vmgrid/files/run-vmgrid.sh @@ -49,6 +49,7 @@ PLUGINCONFVMGRID=${PLUGINCONFROOT}/vmgrid ################################################################################ # check if forcemem set +# TODO: klappt noch nicht immer :( if [ "$1" = "--forcemem" ]; then forcemem=$2 xmlfile=${3##*/} @@ -85,7 +86,7 @@ if [ $runningvms -le 0 ]; then exit 1 fi # check if vmchooser plugin installed -if [ ${vmchooser_active} = "1" 2>/dev/null] && [ ${runningvms} -gt 1 ]; then +if [ ${vmchooser_active} -eq 1 2>/dev/null ] && [ ${runningvms} -gt 1 ]; then # only allow one instance of vmgrid writelog "Already 1 VMs running and vmchooser plugin is active." writelog "Can't start ${xmlfile}, exiting!" @@ -109,7 +110,6 @@ fi ################################################################################ cat <