Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
chore: ensure automatic updates are on by default
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalOughtness authored Oct 6, 2024
1 parent 0cdb59f commit 775cead
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion coreos/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
fi

0 comments on commit 775cead

Please sign in to comment.