sysctl: limit swappiness (use RAM ftw)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-07-14 16:12:30 +02:00
parent bcd0046242
commit 5af4d799fb
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -8,6 +8,7 @@ bootcmd:
- timedatectl set-timezone Europe/Bratislava - timedatectl set-timezone Europe/Bratislava
- systemctl stop systemd-resolved - systemctl stop systemd-resolved
- echo "nameserver 84.200.69.80" > /etc/resolv.conf - echo "nameserver 84.200.69.80" > /etc/resolv.conf
- echo "vm.swappiness=3" >> /etc/sysctl.conf
- sleep 10 - sleep 10
runcmd: runcmd: