forked from sig_core/toolkit
seems to work with selinux on
This commit is contained in:
parent
9568b0cbcb
commit
30d1c317cd
1 changed files with 6 additions and 6 deletions
|
@ -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 a new issue