nixos-install: also respect port

This commit is contained in:
Jörg Thalheim
2024-03-17 21:43:01 +01:00
parent 7412ae027e
commit f9241448c5

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: