Merge pull request #161 from cgwalters/enable-autoupdates

Enable `bootc-fetch-apply-updates.service` by default
This commit is contained in:
Daniel J Walsh 2024-01-19 06:39:58 -05:00 committed by GitHub
commit 7fdceab78a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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