diff --git a/config/default.sh b/config/default.sh index 994b79f..2c95031 100644 --- a/config/default.sh +++ b/config/default.sh @@ -3,3 +3,6 @@ # Set timezone timedatectl set-timezone Asia/Shanghai +# Set swap off +swapoff -a +sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab