remoteshell fix for SLES 12 support, sshd is not enabled by default on SLES 12, enable sshd in remoteshell postscript
This commit is contained in:
parent
255811ee1f
commit
e570ed6e49
@ -42,11 +42,11 @@ sub Version
|
||||
my $version = shift;
|
||||
if ($version eq 'short')
|
||||
{
|
||||
$version = '' #XCATVERSIONSUBHERE ;
|
||||
$version = '' . '2.9' ;
|
||||
}
|
||||
else
|
||||
{
|
||||
$version = 'Version ' #XCATVERSIONSUBHERE #XCATSVNBUILDSUBHERE ;
|
||||
$version = 'Version ' . '2.9' . ' (git commit aabb, built Thu Oct 17 14:52:04 CST 2013)' ;
|
||||
}
|
||||
return $version;
|
||||
|
||||
|
@ -460,6 +460,9 @@ then
|
||||
fi
|
||||
else
|
||||
#service sshd restart
|
||||
# sshd is not enabled on SLES 12 by default
|
||||
# does not hurt anything to re-enable if it is enabled already
|
||||
enableservice sshd
|
||||
restartservice sshd
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user