Commit e1874aa7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

bootstrap.RunNodeSetupCmd: Add IPv6 support

Commit 224ff0f7

 modified the node SSH setup to use the system's SSH
client. Before that Paramiko was used. It's not entirely clear whehter
the latter ever supported IPv6 properly, but with this patch
“bootstrap.RunNodeSetupCmd” is changed to use it if configured. The code
for doing so is taken from “bootstrap.SetupNodeDaemon”, which is going
to use “bootstrap.RunNodeSetupCmd”.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarGuido Trotter <>
parent a698cdbb
......@@ -288,7 +288,9 @@ def RunNodeSetupCmd(cluster_name, node, basecmd, debug, verbose,
if verbose:
srun = ssh.SshRunner(cluster_name)
family = ssconf.SimpleStore().GetPrimaryIPFamily()
srun = ssh.SshRunner(cluster_name,
ipv6=(family ==
scmd = srun.BuildCmd(node, constants.SSH_LOGIN_USER,
batch=False, ask_key=ask_key, quiet=False,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment