octavia/elements/disable-makecache/README.rst
Michael Johnson c8b044af4a Stop "dnf makecache" in the amphora images
On base operating systems that use DNF there can be a systemd timer
that attempts to call out and update the dnf cache every hour.
This patch adds an diskimage-builder element that disables this
timer as most amphora will not be successful in updating this cache
because they do not have network access or DNS services avaialable.

Change-Id: I5dec631d3e66e1dfb6b8741caea89938ee18a7d8
Story: 2007408
Task: 39019
2020-03-16 16:53:27 +00:00

7 lines
316 B
ReStructuredText

This element disables the dnf makecache hourly timer.
The amphora typically do not have internet access nor access to DNS servers.
We want to disable this makecache timer to stop the amphora from attempting
to update/download the dnf cache every hour. Without this element it will
run and log a failure every hour.