diff options
author | Dirk | 2013-03-18 18:46:30 +0100 |
---|---|---|
committer | Dirk | 2013-03-18 18:46:30 +0100 |
commit | d4c9a868913ae33c979c186a1b1df791a26d12d3 (patch) | |
tree | 89d4243a4d84da0ac7041037c553739e7dd8a7f1 | |
parent | Default settings for virtual box ... (diff) | |
download | core-d4c9a868913ae33c979c186a1b1df791a26d12d3.tar.gz core-d4c9a868913ae33c979c186a1b1df791a26d12d3.tar.xz core-d4c9a868913ae33c979c186a1b1df791a26d12d3.zip |
Fix issue with too big memory settings in older VMware versions.
-rw-r--r-- | src/os-plugins/plugins/vmware/files/run-virt.include | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/vmware/files/run-virt.include b/src/os-plugins/plugins/vmware/files/run-virt.include index ac18b521..86ba4700 100644 --- a/src/os-plugins/plugins/vmware/files/run-virt.include +++ b/src/os-plugins/plugins/vmware/files/run-virt.include @@ -92,6 +92,9 @@ case "$vmversion" in if [ "${cpu_cores}" -ge "2" 2>/dev/null ]; then numvcpus="2" fi + if [ "${mem}" -ge "8000" 2>/dev/null ]; then + mem=8000 + fi cap3d="TRUE" # helper var for loging output echo " # version specific stuff - ver. 2.5|3.*|6.5|7.* |