diff --git a/e20c/kvm.sh b/e20c/kvm.sh index 93f4d22..cddd41b 100644 --- a/e20c/kvm.sh +++ b/e20c/kvm.sh @@ -32,6 +32,7 @@ menu_options=( "卸载1panel面板管理工具" "卸载QEMU/KVM虚拟机管理器" "卸载Cockpit虚拟机Web管理工具" + "***升级e20c内核到6.1***" "更新脚本" ) @@ -46,9 +47,14 @@ commands=( ["卸载QEMU/KVM虚拟机管理器"]="uninstall_virt_manager" ["卸载Cockpit虚拟机Web管理工具"]="uninstall_cockpit" ["卸载1panel面板管理工具"]="uninstall_1panel" + ["***升级e20c内核到6.1***"]="update_e20c_kernel" ["更新脚本"]="update_scripts" ) +update_e20c_kernel(){ + sudo armbian-update -k 6.1 +} + # 更新系统软件包 update_system_packages() { green "Setting timezone Asia/Shanghai..."