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:
@@ -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
|
||||
|
Reference in New Issue
Block a user