Don't attemp ipv6 ssh in case of ipv4 cluster
[ganeti-github.git] / lib / ssh.py
index 9d519fd..c694341 100644 (file)
@@ -183,6 +183,8 @@ class SshRunner:
 
     if self.ipv6:
       options.append("-6")
+    else:
+      options.append("-4")
 
     return options