Fix for HashKnownHosts yes in docker containers

Docker containers (jenkins on example) include 'HashKnownHosts yes' in /etc/ssh/ssh_config
So pipeline-labrary should create .ssh/known_hosts in correct format

Change-Id: Ied999b10d9a5a4d8551bbb424af68ced8276f9c6
diff --git a/src/com/mirantis/mk/Ssh.groovy b/src/com/mirantis/mk/Ssh.groovy
index 9e66bc9..5fa3786 100644
--- a/src/com/mirantis/mk/Ssh.groovy
+++ b/src/com/mirantis/mk/Ssh.groovy
@@ -13,7 +13,7 @@
  */
 def ensureKnownHosts(url) {
     def hostArray = getKnownHost(url)
-    sh "test -f ~/.ssh/known_hosts && grep ${hostArray[0]} ~/.ssh/known_hosts || ssh-keyscan -p ${hostArray[1]} ${hostArray[0]} >> ~/.ssh/known_hosts"
+    sh "test -f ~/.ssh/known_hosts && grep ${hostArray[0]} ~/.ssh/known_hosts || ssh-keyscan -H -p ${hostArray[1]} ${hostArray[0]} >> ~/.ssh/known_hosts"
 }
 
 @NonCPS