aboutsummaryrefslogtreecommitdiff
path: root/share/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/provision')
-rwxr-xr-xshare/provision/debian/basic5
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