mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update edge-kernel.sh
This commit is contained in:
parent
09cff9fcda
commit
f85a4638f6
@ -28,7 +28,8 @@ show_menu(){
|
||||
printf "${menu}**${number} 1)${normal} Install Proxmox 5.18 Edge Kernel & Reboot\n"
|
||||
printf "${menu}**${number} 2)${normal} Switch to Proxmox PVE ${menu}${PVE_KERNEL}${normal} Kernel & Reboot\n"
|
||||
printf "${menu}**${number} 3)${normal} Switch to Proxmox Edge ${menu}${EDGE_KERNEL}${normal} Kernel & Reboot\n"
|
||||
printf "${menu}**${number} 4)${normal} Remove Proxmox Edge Kernel & Reboot\n"
|
||||
printf "${menu}**${number} 4)${normal} Unpin Current Kernel\n"
|
||||
printf "${menu}**${number} 5)${normal} Remove Proxmox Edge Kernel & Reboot\n"
|
||||
printf "${menu}*********************************************${normal}\n"
|
||||
printf "Please choose an option from the menu and enter or ${fgred}x${normal} to exit."
|
||||
read opt
|
||||
@ -94,6 +95,19 @@ while [ $opt != '' ]
|
||||
break;
|
||||
;;
|
||||
4) while true; do
|
||||
read -p "Are you sure you want to Unpin the Current Kernel? Proceed(y/n)?" yn
|
||||
case $yn in
|
||||
[Yy]* ) break;;
|
||||
[Nn]* ) exit;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
clear;
|
||||
option_picked "Unpinning Current Kernel";
|
||||
proxmox-boot-tool kernel unpin
|
||||
break;
|
||||
;;
|
||||
5) while true; do
|
||||
read -p "Are you sure you want to Remove Proxmox Edge Kernel & Reboot? Proceed(y/n)?" yn
|
||||
case $yn in
|
||||
[Yy]* ) break;;
|
||||
|
Loading…
Reference in New Issue
Block a user