[pve-devel] [PATCH storage 2/2] fix scstadmin path to support installation from deb packages

Dzmitry Kotsikau dkotsikau at gmail.com
Thu May 3 14:50:22 CEST 2018


Signed-off-by: Dzmitry Kotsikau <dkotsikau at gmail.com>
---
 PVE/Storage/LunCmd/Scst.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PVE/Storage/LunCmd/Scst.pm b/PVE/Storage/LunCmd/Scst.pm
index 4e0a67b..8ab3f09 100644
--- a/PVE/Storage/LunCmd/Scst.pm
+++ b/PVE/Storage/LunCmd/Scst.pm
@@ -40,7 +40,7 @@ my $HANDLER = 'vdisk_fileio';
 my $CONFIG_FILE = '/etc/scst.conf';
 my $CONFIG_FILE_TMP = '/tmp/pve-scst.conf';
 
-my $DAEMON = '/usr/local/sbin/iscsi-scstd';
+my $DAEMON = '/usr/sbin/iscsi-scstd';
 my $SETTINGS = undef;
 my $CONFIG;
 
@@ -48,7 +48,7 @@ my @ssh_opts = ('-o', 'BatchMode=yes', '-o','PreferredAuthentications=publickey'
 my @ssh_cmd = ('/usr/bin/ssh', @ssh_opts);
 my @scp_cmd = ('/usr/bin/scp', @ssh_opts);
 my $id_rsa_path = '/etc/pve/priv/zfs';
-my $scstadmin = '/usr/local/sbin/scstadmin';
+my $scstadmin = '/usr/sbin/scstadmin';
 
 my $execute_command = sub {
     my ($scfg, $exec, $timeout, $method, @params) = @_;
-- 
2.11.0



More information about the pve-devel mailing list