seems to work with selinux on
This commit is contained in:
parent
9568b0cbcb
commit
30d1c317cd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user