We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d91862 commit 7503e66Copy full SHA for 7503e66
content/en/docs/cluster/nop-linux.md
@@ -136,6 +136,13 @@ else
136
echo "NetworkManager configuration file seems not to exist. Probably non desktop system"
137
fi
138
139
+# Check swap
140
+output=$(swapon --show)
141
+if [[ "$output" != "" ]]; then
142
+ echo -e "\e[31mFAIL: Your system has swap active. Please uncomment all in /etc/fstab and then turn off: sudo swapoff -a\e[0m" >&2
143
+ exit 1
144
+fi
145
+
146
# List all timers and services to validate we have nothing left
147
148
output=$(sudo systemctl --all list-timers)
0 commit comments