octavia/elements/disable-makecache
Michael Johnson 26dc84f537 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
(cherry picked from commit c8b044af4a)
2020-03-25 16:48:46 +00:00
..
post-install.d Stop "dnf makecache" in the amphora images 2020-03-25 16:48:46 +00:00
README.rst Stop "dnf makecache" in the amphora images 2020-03-25 16:48:46 +00:00
svc-map Stop "dnf makecache" in the amphora images 2020-03-25 16:48:46 +00:00

README.rst

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.