summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/XX_vmware.sh
diff options
context:
space:
mode:
authorMichael Janczyk2008-10-18 16:57:49 +0200
committerMichael Janczyk2008-10-18 16:57:49 +0200
commitc1e2a8c61923716cfe5e34e8eabc11a6834f904c (patch)
treed47029586bc85a84619e761563f6dce183880bf8 /os-plugins/plugins/vmware/XX_vmware.sh
parentHeavy rewrite of XX_xserver.sh to get a better idea what happens in (diff)
downloadcore-c1e2a8c61923716cfe5e34e8eabc11a6834f904c.tar.gz
core-c1e2a8c61923716cfe5e34e8eabc11a6834f904c.tar.xz
core-c1e2a8c61923716cfe5e34e8eabc11a6834f904c.zip
bigfix: /mnt prefix added
+ echo cosmetics git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2361 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/XX_vmware.sh')
-rw-r--r--os-plugins/plugins/vmware/XX_vmware.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/os-plugins/plugins/vmware/XX_vmware.sh b/os-plugins/plugins/vmware/XX_vmware.sh
index 000b9e5d..19d03f83 100644
--- a/os-plugins/plugins/vmware/XX_vmware.sh
+++ b/os-plugins/plugins/vmware/XX_vmware.sh
@@ -228,9 +228,10 @@ $(ipcalc -m $vmip/$vmpx|sed s/.*=//) {" \
# disable VMware swapping
echo '.encoding = "UTF-8"
- prefvmx.useRecommendedLockedMemSize = "TRUE"
- prefvmx.minVmMemPct = "100"' \
- >/etc/vmware/config
+ prefvmx.useRecommendedLockedMemSize = "TRUE"
+ prefvmx.minVmMemPct = "100"' | \
+ sed -e "s/^ *//" \
+ >/mnt/etc/vmware/config
## Copy version depending files
cp /mnt/opt/openslx/plugin-repo/vmware/${vmware_kind}/runvmware \