summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/ubuntu_setup.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-07-10 12:15:43 -0400
committerChris Evich <cevich@redhat.com>2019-07-16 14:30:42 -0400
commit1abb2174934a461d90885afc0a8655e9d326f21e (patch)
tree96c48f8d4b49455c671a6eaffaef68148bafa4bb /contrib/cirrus/packer/ubuntu_setup.sh
parenta449e9a2cf4b73163df75674059de04488cd2706 (diff)
downloadpodman-1abb2174934a461d90885afc0a8655e9d326f21e.tar.gz
podman-1abb2174934a461d90885afc0a8655e9d326f21e.tar.bz2
podman-1abb2174934a461d90885afc0a8655e9d326f21e.zip
Cirrus: Disable most periodic services/timers
For CI testing, it's important to remove as much variability from the overall system as possible. This permits focusing just on problems closely related to code-changes. To this end, and because VMs are very short-lived (2 hours at most), disable all systemd services and timers which perform periodic activities. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/ubuntu_setup.sh')
-rw-r--r--contrib/cirrus/packer/ubuntu_setup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/cirrus/packer/ubuntu_setup.sh b/contrib/cirrus/packer/ubuntu_setup.sh
index 6209f2f89..dba191ad2 100644
--- a/contrib/cirrus/packer/ubuntu_setup.sh
+++ b/contrib/cirrus/packer/ubuntu_setup.sh
@@ -100,6 +100,9 @@ ooe.sh sudo update-grub
sudo /tmp/libpod/hack/install_catatonit.sh
ooe.sh sudo make -C /tmp/libpod install.libseccomp.sudo
+# Ensure there are no disruptive periodic services enabled by default in image
+systemd_banish
+
ubuntu_finalize
echo "SUCCESS!"