From c3972f665b1e51a4fa27cabcb798dad6428fa157 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Fri, 3 Jan 2025 21:05:44 -0700 Subject: [PATCH] python: sd_nspawn: Add OrbStack mounts Signed-off-by: Nathan Chancellor --- python/scripts/sd_nspawn.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/scripts/sd_nspawn.py b/python/scripts/sd_nspawn.py index 5d45a640..4e90bd9d 100755 --- a/python/scripts/sd_nspawn.py +++ b/python/scripts/sd_nspawn.py @@ -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()}", }