summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmgrid/files/vmgrid
diff options
context:
space:
mode:
authorMichael Janczyk2010-04-13 22:08:13 +0200
committerMichael Janczyk2010-04-13 22:08:13 +0200
commit912eb72cfce8a03ef82fb51c880ff4cb85403477 (patch)
tree17c7e07b7ace702f07ce3cb5095772d051ecbb10 /os-plugins/plugins/vmgrid/files/vmgrid
parentdisable audio when using vmgrid (diff)
parentvirtualization plugin, now with calculation of mem, run-vmgrid and run-virt u... (diff)
downloadcore-912eb72cfce8a03ef82fb51c880ff4cb85403477.tar.gz
core-912eb72cfce8a03ef82fb51c880ff4cb85403477.tar.xz
core-912eb72cfce8a03ef82fb51c880ff4cb85403477.zip
Merge branch 'master' into vmgrid
Diffstat (limited to 'os-plugins/plugins/vmgrid/files/vmgrid')
-rw-r--r--os-plugins/plugins/vmgrid/files/vmgrid6
1 files changed, 6 insertions, 0 deletions
diff --git a/os-plugins/plugins/vmgrid/files/vmgrid b/os-plugins/plugins/vmgrid/files/vmgrid
index 77efe4e0..3b6713b8 100644
--- a/os-plugins/plugins/vmgrid/files/vmgrid
+++ b/os-plugins/plugins/vmgrid/files/vmgrid
@@ -79,6 +79,12 @@ if [ -z "${hostratio}" ]; then
exit 1
fi
+if [ -z "${hostratio}" ]; then
+ writelog "There has been an error in the memory configuration in stage 3"
+ writelog "Please check your memory ratio settings, exiting!"
+ exit 1
+fi
+
# remove blanks
vmgrid_startvms=$(echo ${vmgrid_startvms} | sed -e "s, *,,g")
vmgrid_memratio=$(echo ${vmgrid_memratio} | sed -e "s, *,,g")