1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

M #: add nosuid option to mount

This commit is contained in:
Christian González 2020-05-18 12:30:21 +02:00
parent 87677e531c
commit 869206ae60
No known key found for this signature in database
GPG Key ID: BC941A50DF6A42EA

View File

@ -54,7 +54,7 @@ fi
trap clean EXIT
# Mount container disk image and untar rootfs contents to it
mount -o noexec,nodev $img_raw $dockerdir/mnt > /dev/null 2>&1
mount -o noexec,nodev,nosuid $img_raw $dockerdir/mnt > /dev/null 2>&1
chmod o+w $dockerdir/mnt
tar xpf $tarball -C $dockerdir/mnt > /dev/null 2>&1