summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware/data/opt/openslx
diff options
context:
space:
mode:
authorSimon Rettberg2016-04-27 17:14:59 +0200
committerSimon Rettberg2016-04-27 17:14:59 +0200
commitafae631cd8a442d3da51239f75cc5b22935bdf54 (patch)
treea2badf1caa227fc7fef09cf6f22dd0f05a995c18 /remote/modules/vmware/data/opt/openslx
parent[run-virt] Linux VMs fd1: resolution corr. and native network shares, poc. (diff)
downloadtm-scripts-afae631cd8a442d3da51239f75cc5b22935bdf54.tar.gz
tm-scripts-afae631cd8a442d3da51239f75cc5b22935bdf54.tar.xz
tm-scripts-afae631cd8a442d3da51239f75cc5b22935bdf54.zip
[vmware] Disable free disk space checks
Diffstat (limited to 'remote/modules/vmware/data/opt/openslx')
-rw-r--r--remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/parse_vmx.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/parse_vmx.inc b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/parse_vmx.inc
index 7238ddaf..878e9a9d 100644
--- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/parse_vmx.inc
+++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/parse_vmx.inc
@@ -149,6 +149,9 @@ fi
# TODO: Need a way to check if supported by hardware before enabling!
#grep -qi '^vpmc\.enable' "${TMPCONFIG}" || echo 'vpmc.enable = "TRUE"' >> "${TMPCONFIG}"
+# Disable space check warnings
+sed -i '/^mainMem.freeSpaceCheck/d' "${TMPCONFIG}"
+echo 'mainMem.freeSpaceCheck = "FALSE"' >> "${TMPCONFIG}"
# At last_ Let's copy it to $confdir/run-vmware.conf
cp -p "${TMPCONFIG}" "$conffile" && writelog "Copied TMPDIR/IMGUUID ${TMPCONFIG} to conffile ${conffile}" || \