diff options
author | Dirk von Suchodoletz | 2010-03-01 10:04:12 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2010-03-01 10:04:12 +0100 |
commit | 6dafa67fd981ec448f46f3809cafb55d9c0bbaef (patch) | |
tree | c1d876658dad50cce31956d7529c730270ecb01c /os-plugins/plugins/vmware/files/run-virt.include | |
parent | Changing directory 'X11/sessions' to 'X11/session' as this one seems to (diff) | |
download | core-6dafa67fd981ec448f46f3809cafb55d9c0bbaef.tar.gz core-6dafa67fd981ec448f46f3809cafb55d9c0bbaef.tar.xz core-6dafa67fd981ec448f46f3809cafb55d9c0bbaef.zip |
Some corrections in vmware plugin ... completing the shift to udhcpd and
Linux supported NAT for better handling of incoming connections.
Diffstat (limited to 'os-plugins/plugins/vmware/files/run-virt.include')
-rw-r--r-- | os-plugins/plugins/vmware/files/run-virt.include | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include index 0fb1d228..149dd730 100644 --- a/os-plugins/plugins/vmware/files/run-virt.include +++ b/os-plugins/plugins/vmware/files/run-virt.include @@ -300,9 +300,16 @@ case "$parallel" in ;; esac -# percentage of memory to use for vmwares in standard case -permem=30 -if [ "${totalmem}" -ge "1600" ]; then +# adjust memory available for vmware guests +case "$vmversion" in + 2.*) + permem=30 + ;; + 3.*) + permem=25 + ;; +esac +if [ "${totalmem}" -ge "2500" ]; then permem=40 fi # check if /tmp is on harddisk |