新增安装1panel面板的菜单
This commit is contained in:
parent
1a5601daf1
commit
3bd498a8f2
@ -91,6 +91,7 @@ menu_options=(
|
|||||||
"还原配置文件os-release"
|
"还原配置文件os-release"
|
||||||
"配置docker为国内镜像"
|
"配置docker为国内镜像"
|
||||||
"安装btop资源监控工具"
|
"安装btop资源监控工具"
|
||||||
|
"安装1panel面板(推荐)"
|
||||||
"卸载虚拟机"
|
"卸载虚拟机"
|
||||||
"卸载 CasaOS"
|
"卸载 CasaOS"
|
||||||
)
|
)
|
||||||
@ -113,6 +114,9 @@ commands=(
|
|||||||
["VirtualBox硬盘直通"]="attach_raw_disk_to_vm"
|
["VirtualBox硬盘直通"]="attach_raw_disk_to_vm"
|
||||||
["创建root身份的VirtualBox图标"]="create_root_vm_desktop"
|
["创建root身份的VirtualBox图标"]="create_root_vm_desktop"
|
||||||
["刷新虚拟硬盘的UUID"]="refresh_vm_disk_uuid"
|
["刷新虚拟硬盘的UUID"]="refresh_vm_disk_uuid"
|
||||||
|
["安装1panel面板(推荐)"]="install_1panel"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -637,6 +641,11 @@ refresh_vm_disk_uuid() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#安装1panel面板
|
||||||
|
install_1panel(){
|
||||||
|
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && bash quick_start.sh
|
||||||
|
}
|
||||||
|
|
||||||
show_menu() {
|
show_menu() {
|
||||||
clear
|
clear
|
||||||
YELLOW="\e[33m"
|
YELLOW="\e[33m"
|
||||||
|
Loading…
Reference in New Issue
Block a user