diff options
author | Dirk | 2012-11-27 15:49:43 +0100 |
---|---|---|
committer | Dirk | 2012-11-27 15:49:43 +0100 |
commit | 74be7469519e6201dd345359e5a396b2a8fafd6b (patch) | |
tree | 1f33648ecbf56fb786d7d98c29fa43236a68a9ea /src/os-plugins/plugins/vmware/XX_vmware.sh | |
parent | Support older X86 OS in VMware ... (diff) | |
download | core-74be7469519e6201dd345359e5a396b2a8fafd6b.tar.gz core-74be7469519e6201dd345359e5a396b2a8fafd6b.tar.xz core-74be7469519e6201dd345359e5a396b2a8fafd6b.zip |
Working on VirtualBox for OpenSLX clients ... (including changes for vmchooser)
Diffstat (limited to 'src/os-plugins/plugins/vmware/XX_vmware.sh')
-rw-r--r-- | src/os-plugins/plugins/vmware/XX_vmware.sh | 7 |
1 files changed, 6 insertions, 1 deletions
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 |