Merge pull request 'nixos-install: also respect port' (#997) from Mic92-openssh into main

This commit is contained in:
clan-bot
2024-03-17 21:23:24 +00:00

View File

@@ -45,6 +45,8 @@ def install_nixos(
"--extra-files", "--extra-files",
str(tmpdir), str(tmpdir),
] ]
if machine.target_host.port:
cmd += ["--ssh-port", str(machine.target_host.port)]
if kexec: if kexec:
cmd += ["--kexec", kexec] cmd += ["--kexec", kexec]
if debug: if debug: