From 487ffb966a065891bb08925a34b0d3b4446f3978 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 12 Feb 2009 13:46:13 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/remoteshell | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index 7a923e5fd..489b2acb5 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -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