You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neat project, thanks! Would it be possible to add bwrap's "--hostname" option? I like to set it to 'sandbox' so that its clear that the env is bubblewrapped. Setting the --hostname option requires --unshare-uts.
Thank you for your very quick solutions :-) I found another way to do it in global.yml:
args: [--clearenv, --unshare-pid, --unshare-uts, --hostname, sandbox]
That's ugly but it works. --hostname sandbox does not work as it is quoted in the final bwrap command.
Activity
jcoffland commentedon Aug 27, 2026
Good idea. What I've been doing is setting
PS1in.bashrc.jcoffland commentedon Aug 27, 2026
sbxactually uses the contents of/etc/skelto create sandboxed home dirs. You could add something like this to the end of/etc/skel/.bashrc:This way every sandbox that has a home directory would show its name in the prompt without having to unshare UTS.
plaimbock commentedon Aug 27, 2026
Thank you for your very quick solutions :-) I found another way to do it in global.yml:
That's ugly but it works.
--hostname sandboxdoes not work as it is quoted in the final bwrap command.