summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/qemukvm/XX_qemukvm.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/qemukvm/XX_qemukvm.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/qemukvm/XX_qemukvm.sh')
-rw-r--r--src/os-plugins/plugins/qemukvm/XX_qemukvm.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh b/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh
index a7cf6b64..b0d40683 100644
--- a/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh
+++ b/src/os-plugins/plugins/qemukvm/XX_qemukvm.sh
@@ -109,11 +109,11 @@ ALL ALL=NOPASSWD: /sbin/iptables -t nat -? POSTROUTING -s 192.168.1*.0/24 -o br0
EOF
# setting the base samba configuration
- if [ -f /mnt/opt/openslx/plugins/vmchooser/smb.conf -a \
+ if [ -f /mnt/opt/openslx/plugin-repo/vmchooser/smb.conf -a \
-f /mnt/usr/sbin/smbd ] ; then
testmkd /mnt/etc/qemu
- sed -e "s#NWIF#tapnat0#taphost0#;s#PIDDIR#/tmp/virt#" \
- /mnt/opt/openslx/plugins/vmchooser/smb.conf \
+ sed -e "s#NWIF#192.168.101.254,192.168.102.254#;s#PIDDIR#/tmp/virt#" \
+ /mnt/opt/openslx/plugin-repo/vmchooser/smb.conf \
>/mnt/etc/qemu/smb.conf
fi
fi