Skip to content
30 linesCodeBlameRaw
1# The g1t sandbox's WSL settings (deploy/sandbox/Dockerfile). Everything
2# that reaches Windows from inside a WSL distribution is turned off here:
3# Windows drives are not mounted, Windows programs cannot be started from
4# Linux, and Windows' PATH is not added. `g1t-runner sandbox guest run`
5# checks that this file is exactly this before it starts, and refuses to
6# start if it is not (crates/runner/src/selfhosted/launcher/guest.rs).
7[automount]
8enabled = false
9mountFsTab = false
10
11[interop]
12enabled = false
13appendWindowsPath = false
14
15[boot]
16systemd = false
17
18# Every call the launcher makes names root itself (`wsl -u root`). Anything
19# else that opens the distribution, a `wsl -d g1t-sandbox` with no user or
20# Explorer at \\wsl.localhost\g1t-sandbox, gets this account instead: no
21# password, no shell, no home, and none of root's files (the Dockerfile).
22[user]
23default = sandbox
24
25# WSL's resolv.conf is a link into /mnt/wsl, which the sandbox unmounts:
26# the supervisor writes its own from what WSL offers at start.
27[network]
28hostname = g1t-sandbox
29generateHosts = true
30generateResolvConf = false