1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

maintenance (#420)

This commit is contained in:
tteckster 2022-08-12 05:25:50 -04:00 committed by GitHub
parent cf8c77b7c4
commit 54bf1dffb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 42 additions and 0 deletions

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -150,6 +150,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -149,6 +149,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -146,6 +146,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -148,6 +148,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi

View File

@ -147,6 +147,7 @@ DISK_SIZE=$(whiptail --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DI
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Using Disk Size: ${BGN}$DISK_SIZE${CL}"
if ! [[ $DISK_SIZE =~ $INTEGER ]] ; then echo -e "${RD}⚠ DISK SIZE MUST BE A INTEGER NUMBER!${CL}"; advanced_settings; fi;
else
exit
fi