buildClan: bugfixing

This commit is contained in:
Johannes Kirschbauer 2024-06-25 13:35:38 +02:00 committed by hsjobeki
parent d03422d004
commit db951f1d9e
2 changed files with 2 additions and 1 deletions

View File

@ -126,6 +126,7 @@ let
in in
(machineImports settings) (machineImports settings)
++ [ ++ [
settings
clan-core.nixosModules.clanCore clan-core.nixosModules.clanCore
extraConfig extraConfig
(machines.${name} or { }) (machines.${name} or { })

View File

@ -40,7 +40,7 @@ def run_vm_in_thread(machine_name: str) -> None:
# wait for qmp socket to exist # wait for qmp socket to exist
def wait_vm_up(state_dir: Path) -> None: def wait_vm_up(state_dir: Path) -> None:
socket_file = state_dir / "qga.sock" socket_file = state_dir / "qga.sock"
timeout: float = 120 timeout: float = 20
while True: while True:
if timeout <= 0: if timeout <= 0:
raise TimeoutError( raise TimeoutError(