diff options
author | Dirk | 2012-11-27 22:35:06 +0100 |
---|---|---|
committer | Dirk | 2012-11-27 22:35:06 +0100 |
commit | 8d839d1a82ba1852f8e703e5a54283a443c62ae7 (patch) | |
tree | 758736202744d6ba3815859c54ed8530a60e8f6d /src/os-plugins/plugins/vmchooser | |
parent | Updating settings for VirtualBox ... (diff) | |
download | core-8d839d1a82ba1852f8e703e5a54283a443c62ae7.tar.gz core-8d839d1a82ba1852f8e703e5a54283a443c62ae7.tar.xz core-8d839d1a82ba1852f8e703e5a54283a443c62ae7.zip |
More changes regarding Vbox and virtualization ...
Diffstat (limited to 'src/os-plugins/plugins/vmchooser')
-rw-r--r-- | src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm | 4 | ||||
-rw-r--r-- | src/os-plugins/plugins/vmchooser/XX_vmchooser.sh | 4 |
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 |