Bind /media to the container

This commit is contained in:
Kron4ek 2021-03-27 16:56:22 +05:00 committed by GitHub
parent b7b6883144
commit 96aee519a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ run_bwrap () {
unshare="--unshare-user-try --unshare-pid --unshare-uts --unshare-cgroup-try \
--hostname Conty"
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
if [ -n "$BIND" ]; then