2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

fix issue [FVT] updatenode CN without return value for more than hours #1621

This commit is contained in:
immarvin
2016-08-03 02:24:03 -04:00
parent 1f4ea5e993
commit 62397604a4

View File

@@ -225,6 +225,9 @@ fi
rm /tmp/ssh_rsa_hostkey
# if node supports ecdsa host key then download the replacement from the MN/SN
# remove the /tmp/ecdsa_key first, otherwise the "ssh-keygen" below might hang
# at waiting for user confirmation to overwritten the existing file
rm -rf /tmp/ecdsa_key >/dev/null 2>&1
if ssh-keygen -t ecdsa -f /tmp/ecdsa_key -P "" &>/dev/null ; then
# download the host ecdsa key
if [ $useflowcontrol = "1" ]; then