aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/setup_environment.sh
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-08-05 15:53:44 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-08-28 09:28:49 -0400
commit63d989a3449050e8cf0a168145baa512e7493772 (patch)
treed1801f462833785577479c99cadfe8036fc7140e /contrib/cirrus/setup_environment.sh
parent8b09b07b19126c60876aaee6c1a4250a38cdd48c (diff)
downloadpodman-63d989a3449050e8cf0a168145baa512e7493772.tar.gz
podman-63d989a3449050e8cf0a168145baa512e7493772.tar.bz2
podman-63d989a3449050e8cf0a168145baa512e7493772.zip
Add an integration test for systemd in a container
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'contrib/cirrus/setup_environment.sh')
-rwxr-xr-xcontrib/cirrus/setup_environment.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index 2579229a5..416a96c4e 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -44,11 +44,15 @@ case "${OS_REL_VER}" in
;;
fedora-30) ;& # continue to next item
fedora-29)
+ # All SELinux distros need this for systemd-in-a-container
+ setsebool container_manage_cgroup true
if [[ "$ADD_SECOND_PARTITION" == "true" ]]; then
bash "$SCRIPT_BASE/add_second_partition.sh"; fi
;;
centos-7) # Current VM is an image-builder-image no local podman/testing
- echo "No further setup required for VM image building"
+ echo "No further setup required for VM image building"
+ # All SELinux distros need this for systemd-in-a-container
+ setsebool container_manage_cgroup true
exit 0
;;
*) bad_os_id_ver ;;