scripts/setup.sh: add hugepage group write permission

Adding group write permission is needed in case of using vfio
driver and using libvirtd for vm provisioning to avoid
permission errors.

Change-Id: I5348e74c65bd8639071c1a2a164f28849dde9678
Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
This commit is contained in:
Karol Latecki 2017-05-18 14:25:38 -04:00 committed by Jim Harris
parent f66a0c9e34
commit 69d3eba0f3

View File

@ -88,6 +88,7 @@ function configure_linux {
if [ "$driver_name" = "vfio-pci" ]; then
if [ "$username" != "" ]; then
chown "$username" "$hugetlbfs_mount"
chmod g+w "$hugetlbfs_mount"
fi
MEMLOCK_AMNT=`ulimit -l`