From 1abb2174934a461d90885afc0a8655e9d326f21e Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 10 Jul 2019 12:15:43 -0400 Subject: 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 --- contrib/cirrus/packer/fedora_base-setup.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/cirrus/packer/fedora_base-setup.sh') diff --git a/contrib/cirrus/packer/fedora_base-setup.sh b/contrib/cirrus/packer/fedora_base-setup.sh index a425b2b57..788a54c34 100644 --- a/contrib/cirrus/packer/fedora_base-setup.sh +++ b/contrib/cirrus/packer/fedora_base-setup.sh @@ -27,6 +27,9 @@ ooe.sh systemctl enable rngd echo "Setting cloud-init service to start after google-network-daemon.service" cp -v $GOSRC/$PACKER_BASE/cloud-init/fedora/cloud-init.service /etc/systemd/system/ +# Ensure there are no disruptive periodic services enabled by default in image +systemd_banish + rh_finalize echo "SUCCESS!" -- cgit v1.2.3-54-g00ecf