summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/vmchooser
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/vmchooser')
-rw-r--r--src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm4
-rw-r--r--src/os-plugins/plugins/vmchooser/XX_vmchooser.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm b/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm
index 02381d33..5889b346 100644
--- a/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm
+++ b/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm
@@ -1,4 +1,4 @@
-# Copyright (c) 2008, 2009 - OpenSLX GmbH
+# Copyright (c) 2008, 2012 - OpenSLX GmbH
#
# This program is free software distributed under the GPL version 2.
# See http://openslx.org/COPYING
@@ -137,7 +137,7 @@ sub installationPhase
my $pluginName = $self->{'name'};
my $pluginBasePath = "$openslxBasePath/lib/plugins/$pluginName/files";
foreach my $file ( qw( vmchooser printer.sh scanner.sh xmlfilter.sh
- default.desktop mesgdisp run-virt.sh ) ) {
+ default.desktop mesgdisp run-virt.sh smb.conf ) ) {
copyFile("$pluginBasePath/$file", "$pluginRepoPath/");
chmod 0755, "$pluginRepoPath/$file";
}
diff --git a/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh
index 9fcc1c39..f86d96d3 100644
--- a/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh
+++ b/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh
@@ -87,8 +87,8 @@ ALL ALL=NOPASSWD: /sbin/mdadm -C /dev/md0 -l linear --raid-devices=2 /dev/loop*
ALL ALL=NOPASSWD: /opt/openslx/rootfs/usr/sbin/nbd-client * * /dev/nbd*
# allow to configure and start/stop samba services
ALL ALL=NOPASSWD: /opt/openslx/rootfs/bin/sed -i /etc/*/smb.conf -e *
-ALL ALL=NOPASSWD: /usr/sbin/nmbd -c /etc/*/smb.conf
-ALL ALL=NOPASSWD: /usr/sbin/smbd -c /etc/*/smb.conf
+ALL ALL=NOPASSWD: /usr/sbin/nmbd -s /etc/*/smb.conf
+ALL ALL=NOPASSWD: /usr/sbin/smbd -s /etc/*/smb.conf
ALL ALL=NOPASSWD: /opt/openslx/rootfs/usr/bin/killall nmbd smbd
EOF