Enable `bootc-fetch-apply-updates.service` by default

This landed in c13c9eb8dc
And we want to come out emphasizing it.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters 2024-01-18 18:19:25 -05:00
parent 9e48ca73c4
commit 67462b0dbc
3 changed files with 13 additions and 0 deletions

11
tier-0/autoupdates.yaml Normal file
View File

@ -0,0 +1,11 @@
# Enable automatic updates by default
# Configuration for bootc
postprocess:
- |
#!/usr/bin/env bash
set -euo pipefail
target=/usr/lib/systemd/system/default.target.wants
mkdir -p $target
set -x
ln -s ../bootc-fetch-apply-updates.service $target

View File

@ -54,6 +54,7 @@ include:
- ostree.yaml
- bootc-config.yaml
- initramfs.yaml
- autoupdates.yaml
packages:
# Even in tier-0, we have this. If you don't want SELinux today, you'll need

1
tier-1/autoupdates.yaml Symbolic link
View File

@ -0,0 +1 @@
../tier-0/autoupdates.yaml