You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6
+
7
+
set -o pipefail
7
8
8
9
functionheader_info() {
9
10
clear
@@ -16,11 +17,13 @@ function header_info() {
16
17
/____/
17
18
EOF
18
19
}
20
+
19
21
BL=$(echo "\033[36m")
20
22
RD=$(echo "\033[01;31m")
21
23
CM='\xE2\x9C\x94\033'
22
24
GN=$(echo "\033[1;92m")
23
25
CL=$(echo "\033[m")
26
+
24
27
header_info
25
28
echo"Loading..."
26
29
@@ -29,50 +32,66 @@ if [ "$ROOT_FS" != "ext4" ]; then
29
32
echo"Root filesystem is not ext4. Exiting script."
30
33
exit 1
31
34
fi
35
+
whiptail --backtitle "Proxmox VE Helper Scripts" \
36
+
--title "Proxmox VE LXC Filesystem Trim" \
37
+
--yesno "The LXC containers will undergo the fstrim command. Proceed?" 10 58 ||exit
32
38
33
-
whiptail --backtitle "Proxmox VE Helper Scripts" --title "Proxmox VE LXC Filesystem Trim" --yesno "The LXC containers will undergo the fstrim command. Proceed?" 10 58 ||exit
excluded_containers=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Containers on $NODE" --checklist "\nSelect containers to skip from trimming:\n" \
0 commit comments