diff options
Diffstat (limited to 'os-plugins/plugins/vmgrid')
| -rw-r--r-- | os-plugins/plugins/vmgrid/files/vmgrid | 6 |
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") |
