clan-lib: Remove override args from parse_deployment_address, instead use the Remote.override method where necessary

This commit is contained in:
Qubasa
2025-06-23 15:20:09 +02:00
parent 6350978ad0
commit 255f2da358
3 changed files with 15 additions and 30 deletions

View File

@@ -62,8 +62,7 @@ class DeployInfo:
remote = Remote.from_deployment_address(
machine_name="clan-installer",
address=addr,
password=password,
).override(host_key_check=host_key_check)
).override(host_key_check=host_key_check, password=password)
addrs.append(remote)
else:
msg = f"Invalid address format: {addr}"
@@ -72,9 +71,7 @@ class DeployInfo:
remote = Remote.from_deployment_address(
machine_name="clan-installer",
address=tor_addr,
password=password,
tor_socks=True,
).override(host_key_check=host_key_check)
).override(host_key_check=host_key_check, tor_socks=True, password=password)
addrs.append(remote)
return DeployInfo(addrs=addrs)