installer: fix qr code again

This commit is contained in:
lassulus
2024-04-22 21:04:41 +02:00
parent a8c94c3595
commit 56d6a124ac
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ def is_reachable(host: str) -> bool:
def connect_ssh_from_json(ssh_data: dict[str, str]) -> None:
for address in ssh_data["local_addrs"]:
for address in ssh_data["addrs"]:
log.debug(f"Trying to reach host on: {address}")
if is_reachable(address):
ssh(host=address, password=ssh_data["pass"])