summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/vmware/XX_vmware.sh
diff options
context:
space:
mode:
authorDirk von Suchodoletz2011-06-04 12:44:28 +0200
committerDirk von Suchodoletz2011-06-04 12:44:28 +0200
commit9be038292dc709336cdc02afbf37f5327d525af8 (patch)
tree6d2812c5ad1d94628bbfbf1f2b0c1e9544391854 /src/os-plugins/plugins/vmware/XX_vmware.sh
parentFixing rsync issue and numberic id's (otherwise rsync maps by names which cau... (diff)
downloadcore-9be038292dc709336cdc02afbf37f5327d525af8.tar.gz
core-9be038292dc709336cdc02afbf37f5327d525af8.tar.xz
core-9be038292dc709336cdc02afbf37f5327d525af8.zip
Changes for common subdirectory for virtual machines, nofuse fix in init.
Diffstat (limited to 'src/os-plugins/plugins/vmware/XX_vmware.sh')
-rw-r--r--src/os-plugins/plugins/vmware/XX_vmware.sh11
1 files changed, 6 insertions, 5 deletions
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 ..."