From c994aae983f337555e0710a134dbe418214129cb Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 19 Jul 2009 13:57:53 +0000 Subject: 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 --- os-plugins/plugins/vmware/XX_vmware.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'os-plugins/plugins/vmware/XX_vmware.sh') 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 -- cgit v1.2.3-55-g7522