diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-10-25 18:27:10 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-10-25 18:27:10 -0300 |
commit | 23ccb056d1f6191001cc9775d5aa29722a07365c (patch) | |
tree | bf9cb41f07fd88cbede3ba63c12911a00c8f19a8 /share/provision | |
parent | 9a9d947e3c2c73b1c7a36cb6d94c51da8d349291 (diff) | |
download | kvmx-23ccb056d1f6191001cc9775d5aa29722a07365c.tar.gz kvmx-23ccb056d1f6191001cc9775d5aa29722a07365c.tar.bz2 |
Feat: provision: debian: basic: set swappiness to 10
Diffstat (limited to 'share/provision')
-rwxr-xr-x | share/provision/debian/basic | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/provision/debian/basic b/share/provision/debian/basic index 5344df3..cfd2122 100755 --- a/share/provision/debian/basic +++ b/share/provision/debian/basic @@ -61,6 +61,11 @@ sudo apps/trashman/trashman install grub-serial-console sudo sysctl kernel.unprivileged_bpf_disabled=1 echo "kernel.unprivileged_bpf_disabled=1" | sudo tee /etc/sysctl.d/kernel.unprivileged_bpf_disabled.conf > /dev/null +# Swappiness +# Decrease system swappiness (default is 60), since this is a virtual machine +sudo sysctl vm.swappiness=10 +echo "vm.swappiness = 10" | sudo tee /etc/sysctl.d/vm.swappiness.conf > /dev/null + # Configuring APT sudo apt-get update $APT_INSTALL apt-transport-https || exit 1 |