fix install of hostkeys on service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4543983089
commit
487ffb966a
@ -71,6 +71,11 @@ if ! grep "PRIVATE KEY" /etc/ssh/ssh_host_rsa_key > /dev/null 2>&1 ; then
|
||||
fi
|
||||
|
||||
|
||||
if [ -r /etc/xCATSN ] ; then
|
||||
mkdir /etc/xcat/hostkeys
|
||||
cp /etc/ssh/ssh* /etc/xcat/hostkeys/.
|
||||
|
||||
fi
|
||||
|
||||
|
||||
umask 0077
|
||||
|
Loading…
Reference in New Issue
Block a user