clan-lib: machines.py: Remove host_key attribute

This commit is contained in:
Qubasa
2025-06-19 17:55:56 +02:00
parent cce4d561e4
commit fae4d39a10
9 changed files with 22 additions and 54 deletions

View File

@@ -189,10 +189,8 @@ def install_command(args: argparse.Namespace) -> None:
)
if target_host_str is not None:
target_host = Remote.from_deployment_address(
machine_name=machine.name,
address=target_host_str,
host_key_check=host_key_check,
)
machine_name=machine.name, address=target_host_str
).override(host_key_check=host_key_check)
else:
target_host = machine.target_host().override(host_key_check=host_key_check)