nixos-install: also respect port
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user