jenkinsfile - post remove key

This commit is contained in:
matt committed 2026-10-21 20:30:36 -07:00
1 parent 36b55ffc01
commit babf9eba9a
1 file changed
+4 -1
+4 -1
View File
@@ -153,7 +153,10 @@ pipeline {
if [ -f /root/.hushlogin ]; then
echo ==MC== Re-enabling MOTD
rm /root/.hushlogin
fi
fi
echo ==MC== Clearing ssh key for this host
ssh-keygen -f '/root/.ssh/known_hosts' -R '${params.host_ip}'
"""
}