mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-27 09:58:25 +01:00
Bind /media to the container
This commit is contained in:
parent
b7b6883144
commit
96aee519a0
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ run_bwrap () {
|
||||||
unshare="--unshare-user-try --unshare-pid --unshare-uts --unshare-cgroup-try \
|
unshare="--unshare-user-try --unshare-pid --unshare-uts --unshare-cgroup-try \
|
||||||
--hostname Conty"
|
--hostname Conty"
|
||||||
else
|
else
|
||||||
dirs="--bind /home /home --bind-try /mnt /mnt --bind-try /opt /opt"
|
dirs="--bind /home /home --bind-try /mnt /mnt --bind-try /opt /opt --bind-try /media /media"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$BIND" ]; then
|
if [ -n "$BIND" ]; then
|
||||||
|
|
Loading…
Reference in a new issue