Merge pull request 'fix incorrect target host when build host is set' (#3511) from ssh-foo into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3511
This commit is contained in:
Mic92
2025-05-06 07:54:40 +00:00

View File

@@ -171,7 +171,7 @@ def deploy_machine(machine: Machine) -> None:
if build_host:
become_root = False
nix_options += ["--target-host", build_host.target]
nix_options += ["--target-host", target_host.target]
if target_host.user != "root":
nix_options += ["--use-remote-sudo"]