Add summary

This commit is contained in:
thorstenspille 2023-10-01 22:38:19 +02:00
parent fcd553012b
commit 08542c3842

View File

@ -383,6 +383,21 @@ installation_task(){
}
summary(){
whiptail --title "POSTINSTALL SUMMARY" \
--backtitle $PROG \
--yes-button "INSTALL" \
--no-button "ABORT & EXIT" \
--yesno "Summary: \n\
zfs_arc_min: $ZFS_ARC_MIN_MEGABYTES MB\n\
zfs_arc_max: $ZFS_ARC_MAX_MEGABYTES MB\n\
swappiness: $SWAPPINESS %\n\
locales: $locales\n\
repository: $repo_selection \n\
subscription: $(pvesubscription get | grep status | cut -d' ' -f2)\n\
suppress subscription warning: $suppress_warning" 30 76
}
source /etc/os-release
# Calculate and suggest values for ZFS L1ARC cache
@ -403,4 +418,6 @@ select_pve_repos
# subscription related actions
select_subscription
summary
echo "Proxmox postinstallation finished!"