summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/vmware/XX_vmware.sh
diff options
context:
space:
mode:
authorDirk2012-11-27 23:01:31 +0100
committerDirk2012-11-27 23:01:31 +0100
commit45a1b48a1cee85ec2c7ca58f40d47253d3e5649c (patch)
tree3e3e873a3a3f48775440bfd646b98f9c26330744 /src/os-plugins/plugins/vmware/XX_vmware.sh
parentSome more small Vbox, ... fixes for samba stuff. (diff)
downloadcore-45a1b48a1cee85ec2c7ca58f40d47253d3e5649c.tar.gz
core-45a1b48a1cee85ec2c7ca58f40d47253d3e5649c.tar.xz
core-45a1b48a1cee85ec2c7ca58f40d47253d3e5649c.zip
Changing smb configuration file path (VBox & Co.)
Diffstat (limited to 'src/os-plugins/plugins/vmware/XX_vmware.sh')
-rw-r--r--src/os-plugins/plugins/vmware/XX_vmware.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/os-plugins/plugins/vmware/XX_vmware.sh b/src/os-plugins/plugins/vmware/XX_vmware.sh
index f7fe3948..2b51936d 100644
--- a/src/os-plugins/plugins/vmware/XX_vmware.sh
+++ b/src/os-plugins/plugins/vmware/XX_vmware.sh
@@ -76,10 +76,11 @@ stage3 setup" > ${PLUGINCONFDIR}/vmware.conf
-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/vmchooser/smb.conf -a -f /mnt/usr/sbin/smbd ] && \
- sed -e "s,NWIF,$vmsub,;s,PIDDIR,/var/run/vmware," \
- /mnt/opt/openslx/plugins/vmchooser/smb.conf \
- >/etc/vmware/smb.conf
+ [ -f /mnt/opt/openslx/plugin-repo/vmchooser/smb.conf \
+ -a -f /mnt/usr/sbin/smbd ] && \
+ sed -e "s,NWIF,$vmsub,;s,PIDDIR,/var/run/vmware," \
+ /mnt/opt/openslx/plugin-repo/vmchooser/smb.conf \
+ >/etc/vmware/smb.conf
fi
# vmware nat interface configuration