clan-vm-manager: Fixing vm starting.

This commit is contained in:
Qubasa
2024-02-16 16:10:49 +07:00
parent 4f7f34f9b4
commit 280bee0861
8 changed files with 59 additions and 79 deletions

View File

@@ -37,7 +37,7 @@ def facts_to_nixos_config(facts: dict[str, dict[str, bytes]]) -> dict:
# TODO move this to the Machines class
def build_vm(
machine: Machine, vm: VmConfig, tmpdir: Path, nix_options: list[str]
machine: Machine, vm: VmConfig, tmpdir: Path, nix_options: list[str] = []
) -> dict[str, str]:
secrets_dir = get_secrets(machine, tmpdir)