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: label
GPG Key ID: B37E62D143879B36
1 changed files with 6 additions and 6 deletions

View File

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