Skip to content

Commit f535b0b

Browse files
Merge pull request #62 from slagle/bootc-disable-update-check
Disable bootc automatic update check and reboot
2 parents 7ea2054 + 3cdeada commit f535b0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bootc/Containerfile.centos9

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ RUN ln -s /etc/sysconfig/network-scripts/ifdown /usr/sbin/ifdown
6565
COPY ansible-facts/bootc.fact /etc/ansible/facts.d/bootc.fact
6666
RUN chmod +x /etc/ansible/facts.d/bootc.fact
6767

68+
# Disable automatic update check and reboot
69+
RUN systemctl mask bootc-fetch-apply-updates.timer
70+
6871
# This should be the last command
6972
# https://docs.fedoraproject.org/en-US/bootc/building-containers/#_linting
7073
RUN bootc container lint

0 commit comments

Comments
 (0)