From 74be7469519e6201dd345359e5a396b2a8fafd6b Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 27 Nov 2012 15:49:43 +0100 Subject: Working on VirtualBox for OpenSLX clients ... (including changes for vmchooser) --- src/os-plugins/plugins/vmware/XX_vmware.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/os-plugins/plugins/vmware/XX_vmware.sh') diff --git a/src/os-plugins/plugins/vmware/XX_vmware.sh b/src/os-plugins/plugins/vmware/XX_vmware.sh index 59996db6..7a953eae 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..2011 - OpenSLX GmbH +# Copyright (c) 2008..2012 - OpenSLX GmbH # # This program/file is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -75,6 +75,11 @@ stage3 setup" > ${PLUGINCONFDIR}/vmware.conf -e "s,CNETWORK,$vmsub,;s,PIDFILE,/var/run/vmware/udhcpd-vmnet1.pid," \ -e "s,LEASEFILE,/var/run/vmware/udhcpd-vmnet1.leases," \ /mnt/etc/opt/openslx/udhcpd.conf >/mnt/etc/vmware/udhcpd/udhcpd-vmnet1.conf + # setting the base samba configuration if available + [ -f /mnt/opt/openslx/plugins/virtualization/smb.conf -a -f /mnt/usr/sbin/smbd ] && \ + sed -e "s,NWIF,$vmsub,;s,PIDDIR,/var/run/vmware," \ + /mnt/opt/openslx/plugins/virtualization/smb.conf \ + >/etc/vmware/smb.conf fi # vmware nat interface configuration -- cgit v1.2.3-55-g7522