From 9be038292dc709336cdc02afbf37f5327d525af8 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sat, 4 Jun 2011 12:44:28 +0200 Subject: Changes for common subdirectory for virtual machines, nofuse fix in init. --- src/os-plugins/plugins/vmware/XX_vmware.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/os-plugins/plugins/vmware') diff --git a/src/os-plugins/plugins/vmware/XX_vmware.sh b/src/os-plugins/plugins/vmware/XX_vmware.sh index 4ed01e51..59996db6 100644 --- a/src/os-plugins/plugins/vmware/XX_vmware.sh +++ b/src/os-plugins/plugins/vmware/XX_vmware.sh @@ -1,5 +1,5 @@ # Copyright (c) 2007..2009 - RZ Uni Freiburg -# Copyright (c) 2008..2010 - OpenSLX GmbH +# Copyright (c) 2008..2011 - OpenSLX GmbH # # This program/file is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -43,7 +43,7 @@ if [ -e /initramfs/plugin-conf/vmware.conf ]; then # Load general configuration . /initramfs/machine-setup - testmkd /mnt/tmp/vmware 1777 + testmkd /mnt/tmp/virt/vmware 1777 testmkd /dev/shm/vmware 1777 testmkd /mnt/var/run/vmware 1777 testmkd ${PLUGINCONFDIR} @@ -182,11 +182,12 @@ prefvmx.useRecommendedLockedMemSize = "TRUE"' | sed -e "s/^ *//" \ cat ${PLUGINDIR}/${vmware_kind}/vmware.conf >>${PLUGINCONFDIR}/vmware.conf # if /tmp resides on nfs: create an empty container file for vmware *.vmem - # it does not like to live on NFS exports (still needed??) + # it does not like to live on NFS exports + # stuff moved more generic to vmchooser plugin #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 + # diskfm /mnt/tmp/vm-container /mnt/tmp/virt + # chmod a+rwxt /mnt/tmp/virt #fi [ $DEBUGLEVEL -gt 0 ] && echo "done with 'vmware' os-plugin ..." -- cgit v1.2.3-55-g7522