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:
lissav 2009-02-12 13:46:13 +00:00
parent 4543983089
commit 487ffb966a

View File

@ -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