Skip to content

Commit

Permalink
python: sd_nspawn: Add OrbStack mounts
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Jan 4, 2025
1 parent 4ea5e30 commit c3972f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/scripts/sd_nspawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ def _add_dynamic_mounts(self):
'/dev/kvm',
# We may be in a virtual machine
os.environ['HOST_FOLDER'],
os.environ['MAC_FOLDER'],
os.environ['NVME_FOLDER'],
# Allow 'fzf --tmux' to work properly
'/var/tmp/fzf',
}
ro_mounts = {
os.environ['OPT_ORB_GUEST'],
# Allow interacting with the host tmux socket
f"/var/tmp/tmux-{os.getuid()}",
}
Expand Down

0 comments on commit c3972f6

Please sign in to comment.