summaryrefslogtreecommitdiffstats
path: root/src/os-plugins
diff options
context:
space:
mode:
authorDirk2013-03-18 18:46:30 +0100
committerDirk2013-03-18 18:46:30 +0100
commitd4c9a868913ae33c979c186a1b1df791a26d12d3 (patch)
tree89d4243a4d84da0ac7041037c553739e7dd8a7f1 /src/os-plugins
parentDefault settings for virtual box ... (diff)
downloadcore-d4c9a868913ae33c979c186a1b1df791a26d12d3.tar.gz
core-d4c9a868913ae33c979c186a1b1df791a26d12d3.tar.xz
core-d4c9a868913ae33c979c186a1b1df791a26d12d3.zip
Fix issue with too big memory settings in older VMware versions.
Diffstat (limited to 'src/os-plugins')
-rw-r--r--src/os-plugins/plugins/vmware/files/run-virt.include3
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.*