From 775ceaddca5e8d683131a77dc2d04ac7de3e0d9b Mon Sep 17 00:00:00 2001 From: qoijjj <129108030+qoijjj@users.noreply.github.com> Date: Sat, 5 Oct 2024 22:08:49 -0700 Subject: [PATCH] chore: ensure automatic updates are on by default --- coreos/post-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/coreos/post-install.sh b/coreos/post-install.sh index 48c3969..f63f8c9 100755 --- a/coreos/post-install.sh +++ b/coreos/post-install.sh @@ -2,6 +2,9 @@ set -ouex pipefail +# Ensure automatic updates are enabled by default +systemctl enable rpm-ostreed-automatic.timer + ## CONDITIONAL: post-install ZFS if [[ "-zfs" == "${ZFS_TAG}" ]]; then echo "no post-install tasks for ZFS" @@ -12,4 +15,4 @@ if [[ "-nvidia" == "${NVIDIA_TAG}" ]]; then sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/nvidia-container-toolkit.repo semodule --verbose --install /usr/share/selinux/packages/nvidia-container.pp -fi \ No newline at end of file +fi