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