mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 18:50:28 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user