File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -115,17 +115,19 @@ sudo dnf remove -y audit cockpit* cronie firewalld *firmware* flashrom grub2-too
115115# Setup insights
116116sudo insights-client --register
117117
118- # Install nano & guest agent
119- sudo dnf install -y nano qemu-guest-agent
118+ # Install packages
119+ sudo dnf install -y nano qemu-guest-agent tuned zram-generator
120120
121- # Enable auto TRIM
122- sudo systemctl enable fstrim.timer
121+ # Setup ZRAM
122+ curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/systemd/zram-generator.conf | tee /etc/systemd/zram-generator.conf > /dev/null
123123
124124# Setup tuned
125- sudo dnf install -y tuned
126125sudo systemctl enable --now tuned
127126sudo tuned-adm profile virtual-guest
128127
128+ # Enable auto TRIM
129+ sudo systemctl enable fstrim.timer
130+
129131# Setup notices
130132unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/issue | sudo tee /etc/issue > /dev/null
131133sudo chmod 644 /etc/issue
You can’t perform that action at this time.
0 commit comments