summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk2012-11-27 23:11:30 +0100
committerDirk2012-11-27 23:11:30 +0100
commit198f4645f186fdb3b6b5a2ad63bc1b0fd1890f79 (patch)
tree5348ad05cc5e62badaf01135f03fe9c33fd17ce5
parentChanging smb configuration file path (VBox & Co.) (diff)
downloadcore-198f4645f186fdb3b6b5a2ad63bc1b0fd1890f79.tar.gz
core-198f4645f186fdb3b6b5a2ad63bc1b0fd1890f79.tar.xz
core-198f4645f186fdb3b6b5a2ad63bc1b0fd1890f79.zip
...
-rw-r--r--src/os-plugins/plugins/qemukvm/files/run-virt.include2
-rw-r--r--src/os-plugins/plugins/virtualbox/files/run-virt.include2
-rw-r--r--src/os-plugins/plugins/vmware/XX_vmware.sh2
-rw-r--r--src/os-plugins/plugins/vmware/files/run-virt.include2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/os-plugins/plugins/qemukvm/files/run-virt.include b/src/os-plugins/plugins/qemukvm/files/run-virt.include
index de0109a3..868acbfc 100644
--- a/src/os-plugins/plugins/qemukvm/files/run-virt.include
+++ b/src/os-plugins/plugins/qemukvm/files/run-virt.include
@@ -249,7 +249,7 @@ writelog "\tNetwork kind:\t\t${network_kind}"
# configure and start samba service to provide user's home directory
if [ -f /usr/sbin/smbd ] ; then
- sudo /opt/openslx/rootfs/bin/sed -i /etc/qemu/smb.conf -e "s,$USER,USER,"
+ sudo /opt/openslx/rootfs/bin/sed -i /etc/qemu/smb.conf -e "s,USER,$USER,"
sudo /usr/sbin/nmbd -s /etc/qemu/smb.conf
sudo /usr/sbin/smbd -s /etc/qemu/smb.conf
fi
diff --git a/src/os-plugins/plugins/virtualbox/files/run-virt.include b/src/os-plugins/plugins/virtualbox/files/run-virt.include
index 694b65fe..4f07d8d6 100644
--- a/src/os-plugins/plugins/virtualbox/files/run-virt.include
+++ b/src/os-plugins/plugins/virtualbox/files/run-virt.include
@@ -410,7 +410,7 @@ fi
# configure and start samba service to provide user's home directory
if [ -f /usr/sbin/smbd ] ; then
- sudo /opt/openslx/rootfs/bin/sed -i /etc/vbox/smb.conf -e "s,$USER,USER,"
+ sudo /opt/openslx/rootfs/bin/sed -i /etc/vbox/smb.conf -e "s,USER,$USER,"
sudo /usr/sbin/nmbd -s /etc/vbox/smb.conf
sudo /usr/sbin/smbd -s /etc/vbox/smb.conf
fi
diff --git a/src/os-plugins/plugins/vmware/XX_vmware.sh b/src/os-plugins/plugins/vmware/XX_vmware.sh
index 2b51936d..6a43b8d4 100644
--- a/src/os-plugins/plugins/vmware/XX_vmware.sh
+++ b/src/os-plugins/plugins/vmware/XX_vmware.sh
@@ -80,7 +80,7 @@ stage3 setup" > ${PLUGINCONFDIR}/vmware.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
+ >/mnt/etc/vmware/smb.conf
fi
# vmware nat interface configuration
diff --git a/src/os-plugins/plugins/vmware/files/run-virt.include b/src/os-plugins/plugins/vmware/files/run-virt.include
index 621f31db..e91f5e4b 100644
--- a/src/os-plugins/plugins/vmware/files/run-virt.include
+++ b/src/os-plugins/plugins/vmware/files/run-virt.include
@@ -505,7 +505,7 @@ writelog ""
# configure and start samba service to provide user's home directory
if [ -f /usr/sbin/smbd ] ; then
- sudo /opt/openslx/rootfs/bin/sed -i /etc/vmware/smb.conf -e "s,$USER,USER,"
+ sudo /opt/openslx/rootfs/bin/sed -i /etc/vmware/smb.conf -e "s,USER,$USER,"
sudo /usr/sbin/nmbd -s /etc/vmware/smb.conf
sudo /usr/sbin/smbd -s /etc/vmware/smb.conf
fi