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 24ed980114
commit 0ca2e7f728

View File

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