diff --git a/pkgs/clan-cli/clan_cli/vms/run.py b/pkgs/clan-cli/clan_cli/vms/run.py index 8388cd542..997dfc12a 100644 --- a/pkgs/clan-cli/clan_cli/vms/run.py +++ b/pkgs/clan-cli/clan_cli/vms/run.py @@ -121,10 +121,13 @@ def run_vm( cachedir = Path(cache_tmp.name) if socketdir is None: + log.debug("Creating Socketdir") socket_tmp = TemporaryDirectory() socketdir = Path(socket_tmp.name) + else: + log.debug("Not creating socketdir.") + log.debug(f"Socketdir: {socketdir}") - # TODO: We should get this from the vm argument nixos_config = build_vm(machine, cachedir, nix_options) state_dir = vm_state_dir(str(vm.flake_url), machine.name) diff --git a/pkgs/clan-cli/clan_cli/vms/virtiofsd.py b/pkgs/clan-cli/clan_cli/vms/virtiofsd.py index 5ede5c176..908257274 100644 --- a/pkgs/clan-cli/clan_cli/vms/virtiofsd.py +++ b/pkgs/clan-cli/clan_cli/vms/virtiofsd.py @@ -20,7 +20,7 @@ def start_virtiofsd(socket_path: Path) -> Iterator[None]: "strace", "-f", "-o", - "/tmp/org.clan.cli/strace.log", + "/tmp/clan-strace.log", "virtiofsd", "--socket-path", str(socket_path),