Enable automatic updates
This commit is contained in:
parent
1850c475af
commit
6edd7c97f8
1 changed files with 4 additions and 0 deletions
|
|
@ -47,5 +47,9 @@ COPY usr /usr
|
|||
|
||||
RUN cd /usr/bin && wget https://raw.githubusercontent.com/CachyOS/CachyOS-Settings/refs/heads/master/usr/bin/kerver && chmod +x kerver
|
||||
|
||||
# Enable automatic updates
|
||||
RUN sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf
|
||||
RUN systemctl enable rpm-ostreed-automatic.timer
|
||||
|
||||
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
|
||||
bootc container lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue