clan_cli: fix target_host when running clan machines install

This commit is contained in:
Michael Hoang
2024-12-17 23:59:45 +11:00
parent c77e46ae68
commit a7f8613878

View File

@@ -150,7 +150,7 @@ def install_command(args: argparse.Namespace) -> None:
machine = Machine(
name=args.machine, flake=args.flake, nix_options=args.option
)
target_host = str(machine.target_host)
target_host = machine.target_host.host
password = None
if args.password: