1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-24 17:49:28 +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

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