diff --git a/README.md b/README.md index 508c6ed..0b87391 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,31 @@ storage: Type=regular-file Path=/opt/extensions/docker CurrentSymlink=/etc/extensions/docker.raw +systemd: + units: + - name: update-sysext.service + enabled: false + contents: | + [Unit] + Wants=network-online.target + After=network-online.target + [Service] + Type=oneshot + ExecStart=/usr/lib/systemd/systemd-sysupdate -C docker update + ExecStart=/usr/lib/systemd/systemd-sysupdate -C kubernetes update + [Install] + Also=update-sysext.timer + - name: update-sysext.timer + enabled: true + contents: | + [Timer] + OnBootSec=15min + OnUnitActiveSec=2h + OnCalendar=Sat + RandomizedDelaySec=4h + Persistent=yes + [Install] + WantedBy=timers.target ``` ### Creating a custom Docker sysext image