Disable automatic updates
This commit is contained in:
parent
ad311abdbe
commit
08bcf0e09b
1 changed files with 1 additions and 6 deletions
|
|
@ -14,18 +14,13 @@ RUN wget https://copr.fedorainfracloud.org/coprs/andersrh/my-ostree-os/repo/fedo
|
||||||
rpm-ostree install ksshaskpass cronie distrobox fish flatpak-builder libcap-ng-devel libvirt-daemon-driver-lxc libvirt-daemon-lxc lld nvtop procps-ng-devel seadrive-gui virt-manager kerver pulseaudio-utils hfsplus-tools VirtualBox && \
|
rpm-ostree install ksshaskpass cronie distrobox fish flatpak-builder libcap-ng-devel libvirt-daemon-driver-lxc libvirt-daemon-lxc lld nvtop procps-ng-devel seadrive-gui virt-manager kerver pulseaudio-utils hfsplus-tools VirtualBox && \
|
||||||
# install Mullvad VPN
|
# install Mullvad VPN
|
||||||
mkdir /var/opt && rpm-ostree install https://mullvad.net/da/download/app/rpm/latest && \
|
mkdir /var/opt && rpm-ostree install https://mullvad.net/da/download/app/rpm/latest && \
|
||||||
mv "/opt/Mullvad VPN" /usr/lib/opt/ && \
|
mv "/opt/Mullvad VPN" /usr/lib/opt/
|
||||||
# enable automatic updates
|
|
||||||
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \
|
|
||||||
# change auto update interval
|
|
||||||
sed -i 's/OnUnitInactiveSec.*/OnUnitInactiveSec=1h\nOnCalendar=*-*-* 06:40:00\nPersistent=true/' /usr/lib/systemd/system/rpm-ostreed-automatic.timer
|
|
||||||
|
|
||||||
# Install TeamViewer
|
# Install TeamViewer
|
||||||
RUN rpm-ostree install https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm && \
|
RUN rpm-ostree install https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm && \
|
||||||
mv "/opt/teamviewer" /usr/lib/opt/
|
mv "/opt/teamviewer" /usr/lib/opt/
|
||||||
# Disable Teamviewerd by default
|
# Disable Teamviewerd by default
|
||||||
RUN systemctl disable teamviewerd
|
RUN systemctl disable teamviewerd
|
||||||
RUN systemctl enable rpm-ostreed-automatic.timer
|
|
||||||
|
|
||||||
# Change ZRAM max to 16GB
|
# Change ZRAM max to 16GB
|
||||||
RUN sed -i 's/zram-size.*/zram-size = min(ram, 16384)/' /usr/lib/systemd/zram-generator.conf
|
RUN sed -i 's/zram-size.*/zram-size = min(ram, 16384)/' /usr/lib/systemd/zram-generator.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue