Skip to content

Commit cff533c

Browse files
committed
add tmp directory as mount for colima vm
1 parent c649138 commit cff533c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

devenv/lib/colima.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,8 @@
66
import tempfile
77
from enum import Enum
88

9-
from devenv.constants import home
10-
from devenv.constants import root
11-
from devenv.constants import SYSTEM_MACHINE
12-
from devenv.lib import archive
13-
from devenv.lib import docker
14-
from devenv.lib import fs
15-
from devenv.lib import proc
16-
from devenv.lib import rosetta
17-
9+
from devenv.constants import SYSTEM_MACHINE, home, root
10+
from devenv.lib import archive, docker, fs, proc, rosetta
1811

1912
ColimaStatus = Enum("ColimaStatus", ("UP", "DOWN", "UNHEALTHY"))
2013

@@ -196,7 +189,7 @@ def start(restart: bool = False) -> ColimaStatus:
196189
"1.1.1.1",
197190
# ideally we keep ~ ro, but currently the "default" vm
198191
# is shared across repositories, so for ease of use we'll let home rw
199-
f"--mount=/var/folders:w,/private/tmp/colima:w,{home}:w",
192+
f"--mount=/var/folders:w,/private/tmp/colima:w,{home}:w,/tmp/:w",
200193
*args,
201194
),
202195
pathprepend=f"{root}/bin",

0 commit comments

Comments
 (0)