summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/XX_vmware.sh
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-07-19 15:57:53 +0200
committerDirk von Suchodoletz2009-07-19 15:57:53 +0200
commitc994aae983f337555e0710a134dbe418214129cb (patch)
treecced498239374c53918a93bf41d76d011afe5035 /os-plugins/plugins/vmware/XX_vmware.sh
parentUse the uclibc-wrapper for brctl and udhcpd in qemu-ifup script. (diff)
downloadcore-c994aae983f337555e0710a134dbe418214129cb.tar.gz
core-c994aae983f337555e0710a134dbe418214129cb.tar.xz
core-c994aae983f337555e0710a134dbe418214129cb.zip
Moved vmware related stuff (special container on NFS for the annoying
background *.vmem file) from servconfig into the correct plugin. To be activated again if needed ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3022 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, 7 insertions, 0 deletions
diff --git a/os-plugins/plugins/vmware/XX_vmware.sh b/os-plugins/plugins/vmware/XX_vmware.sh
index 2ace7706..5068c0f6 100644
--- a/os-plugins/plugins/vmware/XX_vmware.sh
+++ b/os-plugins/plugins/vmware/XX_vmware.sh
@@ -217,6 +217,13 @@ prefvmx.useRecommendedLockedMemSize = "TRUE"' | sed -e "s/^ *//" \
cat /mnt/opt/openslx/plugin-repo/vmware/${vmware_kind}/slxvmconfig \
>>/mnt/etc/vmware/slxvmconfig
+ # if /tmp resides on nfs: create an empty container file for vmware *.vmem
+ # it does not like to live on NFS exports (still needed??)
+ #if [ cat /proc/mounts|grep -qe "^/tmp "|grep -qe "nfs" ] ; then
+ # dd if=/dev/zero of=/mnt/tmp/vm-container count=1 seek=2048000
+ # diskfm /mnt/tmp/vm-container /mnt/tmp/vmware
+ # chmod a+rwxt /mnt/tmp/vmware
+ #fi
[ $DEBUGLEVEL -gt 0 ] && echo "done with 'vmware' os-plugin ..."
fi