nixos-install: also respect port
All checks were successful
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m6s

This commit is contained in:
Jörg Thalheim 2024-03-17 21:43:01 +01:00
parent 9f25f47298
commit 5ff36a2cd8

View File

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