buildClan: bugfixing
This commit is contained in:
parent
d03422d004
commit
db951f1d9e
|
@ -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 { })
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user