preserve time/date on copy of hostkeys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
00471f7bbd
commit
799d7539a5
@ -122,7 +122,7 @@ fi
|
||||
# generated the keys before, still have private keys in install
|
||||
# copy all to the new private directory and then remove private keys
|
||||
if [ -f /install/postscripts/hostkeys/ssh_host_key ]; then
|
||||
/bin/cp /install/postscripts/hostkeys/* /etc/xcat/hostkeys/.
|
||||
/bin/cp -p /install/postscripts/hostkeys/* /etc/xcat/hostkeys/.
|
||||
/bin/rm /install/postscripts/hostkeys/ssh_host_dsa_key
|
||||
/bin/rm /install/postscripts/hostkeys/ssh_host_rsa_key
|
||||
/bin/rm /install/postscripts/hostkeys/ssh_host_key
|
||||
|
Loading…
Reference in New Issue
Block a user