seems to work with selinux on

This commit is contained in:
Louis Abel 2022-07-11 08:58:13 -07:00
parent 9568b0cbcb
commit 30d1c317cd
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -16,9 +16,9 @@ IMAGE_ISO="{{ isoname }}"
ISOLATION="{{ isolation }}"
BUILDDIR="{{ builddir }}"
if [ -f "/usr/sbin/setenforce" ]; then
sudo setenforce 0
fi
#if [ -f "/usr/sbin/setenforce" ]; then
# sudo setenforce 0
#fi
# Init the container
mock \
@ -53,6 +53,6 @@ else
fi
# Clean up?
if [ -f "/usr/sbin/setenforce" ]; then
sudo setenforce 1
fi
#if [ -f "/usr/sbin/setenforce" ]; then
# sudo setenforce 1
#fi