chore: update docs, images, CI configs and script initialization hints
- lib/core.sh: update script initialization prompts - intel-sriov/intel-legacy/intel-gvtg/nvidia: minor refinements - Docs: update README, CLAUDE.md and images - CI: sync beta-release and release workflow configs - self-update: update version check logic
2
.github/workflows/beta-release.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
||||
|
||||
**直接运行脚本 (推荐)**
|
||||
```bash
|
||||
bash <(curl -sSL https://pve.oowo.cc/PVE-Tools.sh)
|
||||
bash <(curl -sSL https://pve.u3u.icu/PVE-Tools.sh)
|
||||
```
|
||||
files: |
|
||||
dist/PVE-Tools.sh
|
||||
|
||||
2
.github/workflows/release.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
**直接运行脚本 (推荐)**
|
||||
```bash
|
||||
bash <(curl -sSL https://pve.oowo.cc/PVE-Tools.sh)
|
||||
bash <(curl -sSL https://pve.u3u.icu/PVE-Tools.sh)
|
||||
```
|
||||
files: |
|
||||
dist/PVE-Tools.sh
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
PVE Tools Pro 是一个面向 Proxmox VE 9.x 的交互式 Bash 运维工具集。目标是把高频、易错、需要大量人工检查的 PVE 运维动作收口为一个更清晰的菜单驱动工具,配合更严格的校验和更明确的高风险提示,降低误操作概率。
|
||||
|
||||
**官网**: https://pve.oowo.cc | **仓库**: https://github.com/PVE-Tools/PVE-Tools-9
|
||||
**官网**: https://pve.u3u.icu | **仓库**: https://github.com/PVE-Tools/PVE-Tools-9
|
||||
|
||||
## 架构总览
|
||||
|
||||
@@ -95,7 +95,7 @@ graph TD
|
||||
|
||||
```bash
|
||||
# Cloudflare 短域名(推荐)
|
||||
bash <(curl -sSL https://pve.oowo.cc/PVE-Tools.sh)
|
||||
bash <(curl -sSL https://pve.u3u.icu/PVE-Tools.sh)
|
||||
|
||||
# 中国大陆网络
|
||||
bash <(curl -sSL https://ghfast.top/raw.githubusercontent.com/PVE-Tools/PVE-Tools-9/main/PVE-Tools.sh)
|
||||
|
||||
28
README.md
@@ -2,7 +2,7 @@
|
||||
|
||||
<div align="center">
|
||||
|
||||
[官网 / Docs](https://pve.oowo.cc) | [更新日志](https://pve.oowo.cc/update) | [FAQ](https://pve.oowo.cc/faq) | [English](./README_EN.md) | [日本語](./REAMDE-JP.md)
|
||||
[官网 / Docs](https://pve.u3u.icu) | [更新日志](https://pve.u3u.icu/update) | [FAQ](https://pve.u3u.icu/faq) | [English](./README_EN.md) | [日本語](./REAMDE-JP.md)
|
||||
|
||||
[](https://www.gnu.org/licenses/gpl-3.0.html)
|
||||
[](https://www.gnu.org/software/bash/)
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
### cloudflare 短域名
|
||||
```bash
|
||||
bash <(curl -sSL https://pve.oowo.cc/PVE-Tools.sh)
|
||||
bash <(curl -sSL https://pve.u3u.icu/PVE-Tools.sh)
|
||||
```
|
||||
|
||||
### 中国大陆网络
|
||||
@@ -83,19 +83,19 @@ PVE Tools Pro 是一个面向 Proxmox VE 9.x 的交互式 Bash 工具。
|
||||
|
||||
## 官网入口
|
||||
|
||||
- 官方文档:https://pve.oowo.cc
|
||||
- 功能特性:https://pve.oowo.cc/features
|
||||
- 更新日志:https://pve.oowo.cc/update
|
||||
- 常见问题:https://pve.oowo.cc/faq
|
||||
- 数据误操作恢复参考:https://pve.oowo.cc/advanced/data-recovery-after-mistake
|
||||
- 宿主机网络 / 防火墙 / IPv6 专题:https://pve.oowo.cc/advanced/host-network-firewall-ipv6
|
||||
- VM 备份 / 迁移 / Cloud-Init 专题:https://pve.oowo.cc/advanced/vm-backup-migration-cloudinit
|
||||
- 官方文档:https://pve.u3u.icu
|
||||
- 功能特性:https://pve.u3u.icu/features
|
||||
- 更新日志:https://pve.u3u.icu/update
|
||||
- 常见问题:https://pve.u3u.icu/faq
|
||||
- 数据误操作恢复参考:https://pve.u3u.icu/advanced/data-recovery-after-mistake
|
||||
- 宿主机网络 / 防火墙 / IPv6 专题:https://pve.u3u.icu/advanced/host-network-firewall-ipv6
|
||||
- VM 备份 / 迁移 / Cloud-Init 专题:https://pve.u3u.icu/advanced/vm-backup-migration-cloudinit
|
||||
|
||||
## Sponsor
|
||||
|
||||
如果这个项目帮你节省了时间、避开了误操作,或者单纯想支持后续维护与继续更新,可以通过以下页面赞助:
|
||||
|
||||
- Sponsor 页面:https://pve.oowo.cc/sponsor
|
||||
- Sponsor 页面:https://pve.u3u.icu/sponsor
|
||||
- 爱发电:https://afdian.com/a/cyrenenight
|
||||
- 微信:
|
||||
|
||||
@@ -105,7 +105,7 @@ PVE Tools Pro 是一个面向 Proxmox VE 9.x 的交互式 Bash 工具。
|
||||
|
||||
如果你需要一对一远程协助、紧急救砖、网络配置、直通问题排查或完整代配,可以直接查看官方付费支持说明:
|
||||
|
||||
- 付费技术支持页面:https://pve.oowo.cc/pay
|
||||
- 付费技术支持页面:https://pve.u3u.icu/pay
|
||||
|
||||
这里购买的是时间与交付结果,不是单纯赞助。
|
||||
|
||||
@@ -118,17 +118,17 @@ PVE Tools Pro 是一个面向 Proxmox VE 9.x 的交互式 Bash 工具。
|
||||
|
||||
这是一个会真实调用 PVE 原生命令并修改宿主机 / VM 配置的运维工具。如果你在没有经过验证的备份、没有维护窗口、没有明确回滚方案的前提下执行高风险动作,可能导致管理面失联、业务中断、配置损坏或不可逆的数据损失。所有数据损失、恢复成本与第三方恢复费用均由实际操作人自行承担。
|
||||
|
||||
完整 ULA 页面:https://pve.oowo.cc/ula
|
||||
完整 ULA 页面:https://pve.u3u.icu/ula
|
||||
该页面主要说明脚本的适用范围、风险边界、用户自担的操作责任,以及对网络中断、配置错误、数据损坏、业务不可用和衍生恢复成本的免责声明。
|
||||
执行备份恢复、迁移、Cloud-Init、磁盘调整、GPU 直通、宿主机网络或防火墙变更前,建议先完整阅读。
|
||||
|
||||
## Community
|
||||
|
||||
- 官网:https://pve.oowo.cc
|
||||
- 官网:https://pve.u3u.icu
|
||||
- GitHub Issues:https://github.com/PVE-Tools/PVE-Tools-9/issues
|
||||
- QQ 群:1031976463
|
||||
- Telegram 群:https://t.me/pvetools233
|
||||
- Sponsor:https://pve.oowo.cc/sponsor
|
||||
- Sponsor:https://pve.u3u.icu/sponsor
|
||||
|
||||
## License
|
||||
|
||||
|
||||
22
README_EN.md
@@ -4,7 +4,7 @@
|
||||
|
||||
An all-in-one operations script for Proxmox VE 9.x, covering VM lifecycle workflows, host networking / firewall / IPv6, GPU / PCI passthrough, day-to-day maintenance, and third-party integrations.
|
||||
|
||||
[Docs](https://pve.oowo.cc) | [Changelog](https://pve.oowo.cc/update) | [FAQ](https://pve.oowo.cc/faq) | [中文](./README.md) | [日本語](./REAMDE-JP.md)
|
||||
[Docs](https://pve.u3u.icu) | [Changelog](https://pve.u3u.icu/update) | [FAQ](https://pve.u3u.icu/faq) | [中文](./README.md) | [日本語](./REAMDE-JP.md)
|
||||
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@ Key capabilities:
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
bash <(curl -sSL https://pve.oowo.cc/PVE-Tools.sh)
|
||||
bash <(curl -sSL https://pve.u3u.icu/PVE-Tools.sh)
|
||||
```
|
||||
|
||||
## Safety Notes
|
||||
@@ -42,25 +42,25 @@ bash <(curl -sSL https://pve.oowo.cc/PVE-Tools.sh)
|
||||
|
||||
## Website Links
|
||||
|
||||
- Documentation: https://pve.oowo.cc
|
||||
- Features: https://pve.oowo.cc/features
|
||||
- Changelog: https://pve.oowo.cc/update
|
||||
- FAQ: https://pve.oowo.cc/faq
|
||||
- Host network / firewall / IPv6 guide: https://pve.oowo.cc/advanced/host-network-firewall-ipv6
|
||||
- VM backup / migration / Cloud-Init guide: https://pve.oowo.cc/advanced/vm-backup-migration-cloudinit
|
||||
- Documentation: https://pve.u3u.icu
|
||||
- Features: https://pve.u3u.icu/features
|
||||
- Changelog: https://pve.u3u.icu/update
|
||||
- FAQ: https://pve.u3u.icu/faq
|
||||
- Host network / firewall / IPv6 guide: https://pve.u3u.icu/advanced/host-network-firewall-ipv6
|
||||
- VM backup / migration / Cloud-Init guide: https://pve.u3u.icu/advanced/vm-backup-migration-cloudinit
|
||||
|
||||
## Sponsor
|
||||
|
||||
If this project saves you time or helps you avoid costly mistakes, you can support ongoing maintenance here:
|
||||
|
||||
- Sponsor page: https://pve.oowo.cc/sponsor
|
||||
- Sponsor page: https://pve.u3u.icu/sponsor
|
||||
- Afdian: https://afdian.com/a/cyrenenight
|
||||
|
||||
## Pay For Services
|
||||
|
||||
If you need one-on-one remote support, emergency recovery, passthrough troubleshooting, network work, or a full PVE setup, check the paid support page:
|
||||
|
||||
- Paid support: https://pve.oowo.cc/pay
|
||||
- Paid support: https://pve.u3u.icu/pay
|
||||
|
||||
## Other Languages
|
||||
|
||||
@@ -71,7 +71,7 @@ If you need one-on-one remote support, emergency recovery, passthrough troublesh
|
||||
|
||||
This project is a real operations tool for Proxmox VE hosts and guests. If you run high-risk actions without validated backups, a maintenance window, and a rollback plan, you may cause management-plane loss, guest outage, or irreversible data damage. All data loss, recovery cost, and third-party recovery expenses remain the responsibility of the operator.
|
||||
|
||||
Full ULA page: https://pve.oowo.cc/ula
|
||||
Full ULA page: https://pve.u3u.icu/ula
|
||||
The ULA outlines the intended scope of the script, its risk boundaries, the operator's responsibilities, and the disclaimer for network interruption, configuration mistakes, data damage, service unavailability, and related recovery costs. Read it before running backup or restore, migration, Cloud-Init, disk changes, GPU passthrough, host networking, or firewall operations.
|
||||
|
||||
## License
|
||||
|
||||
BIN
home-full.png
|
Before Width: | Height: | Size: 305 KiB After Width: | Height: | Size: 545 KiB |
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 687 KiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 858 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 265 KiB |
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 5.0 MiB |
|
Before Width: | Height: | Size: 728 KiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 390 KiB After Width: | Height: | Size: 677 KiB |
|
Before Width: | Height: | Size: 914 KiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 952 KiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 810 KiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 831 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 851 KiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 270 KiB |
|
Before Width: | Height: | Size: 600 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 3.1 MiB |
BIN
images/main.png
|
Before Width: | Height: | Size: 288 KiB After Width: | Height: | Size: 445 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 2.9 MiB |
|
Before Width: | Height: | Size: 614 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1004 KiB After Width: | Height: | Size: 1.8 MiB |
27
lib/core.sh
@@ -126,10 +126,11 @@ confirm_high_risk_action() {
|
||||
}
|
||||
vm_show_data_risk_banner() {
|
||||
echo -e "${RED}${UI_DIVIDER}${NC}"
|
||||
echo -e "${RED}高风险提示:以下操作可能直接改写 VM 配置、磁盘、快照、克隆、恢复或迁移状态。${NC}"
|
||||
echo -e "${YELLOW}开始前请确认:已有可验证备份、已核对 VMID/磁盘槽位/目标存储、业务已处于维护窗口。${NC}"
|
||||
echo -e "${YELLOW}一旦误操作,数据恢复成功率通常取决于后续写入量、存储类型以及是否立即停止写入。${NC}"
|
||||
echo -e "${RED}恢复参考: https://pve.oowo.cc/advanced/data-recovery-after-mistake${NC}"
|
||||
echo -e "${RED}以下操作将直接改写 VM 配置、磁盘、快照、克隆、恢复或迁移状态。${NC}"
|
||||
echo -e "${RED}本软件会执行您要求它做的事情,不会替您判断对错。${NC}"
|
||||
echo -e "${RED}您已被告知风险,请确保备份就绪、窗口明确、命令理解到位。${NC}"
|
||||
echo -e "${RED}如果心存疑虑,请停下来——数据无价。${NC}"
|
||||
echo -e "${RED}恢复参考: https://pve.u3u.icu/advanced/data-recovery-after-mistake${NC}"
|
||||
echo -e "${RED}${UI_DIVIDER}${NC}"
|
||||
}
|
||||
|
||||
@@ -146,12 +147,18 @@ ensure_legal_acceptance() {
|
||||
|
||||
clear
|
||||
show_menu_header "许可与服务条款"
|
||||
echo -e "${CYAN}继续使用本脚本前,请先认真阅读并同意以下条款:${NC}"
|
||||
echo -e " - ULA(最终用户许可与使用协议): https://pve.oowo.cc/ula"
|
||||
echo -e " - TOS(服务条款): https://pve.oowo.cc/tos"
|
||||
echo -e "${RED} 高风险提醒:涉及宿主机网络、桥接/Bond/VLAN、防火墙,以及 VM、磁盘、快照、克隆、恢复、导入导出、迁移等操作时,可能造成管理面失联、业务中断或不可逆的数据/配置损坏。${NC}"
|
||||
echo -e "${RED} 请仅在已完成可验证备份、明确维护窗口并理解命令影响范围后继续;误操作导致的数据损失、恢复成本与第三方恢复费用均由使用者自行承担。${NC}"
|
||||
echo -e "${RED} 您可以随时撤回同意,只需删除 ${marker} 文件即可。${NC}"
|
||||
echo -e "继续使用本脚本即表示您同意以下条款:"
|
||||
echo -e " ${CYAN}ULA${NC}(最终用户许可与使用协议): https://pve.u3u.icu/ula"
|
||||
echo -e " ${CYAN}TOS${NC}(服务条款): https://pve.u3u.icu/tos"
|
||||
echo
|
||||
echo -e "${RED}本软件会做您明确告诉它要做的事情,无论那件事情多么荒谬或具有破坏性。${NC}"
|
||||
echo -e "${RED}您已被告知所有风险,并已独立决定使用本软件。${NC}"
|
||||
echo -e "${RED}从此刻起,您与您的数据之间唯一的屏障就是您自己的谨慎与备份策略。${NC}"
|
||||
echo
|
||||
echo -e "${YELLOW}最后提醒:如果您仍然心存疑虑,请不要使用本软件。${NC}"
|
||||
echo -e "${YELLOW}世界上有许多带有商业支持、附带责任保险的成熟 PVE 管理工具,您可以考虑购买它们。${NC}"
|
||||
echo
|
||||
echo -e "${YELLOW} 撤回同意: 删除 ${marker}${NC}"
|
||||
echo -e "${UI_DIVIDER}"
|
||||
echo -n "是否同意协议并继续?(Y/N): "
|
||||
local ans
|
||||
|
||||
@@ -6,7 +6,7 @@ menu_optimization() {
|
||||
while true; do
|
||||
clear
|
||||
echo "功能 1/2 请在外部SSH环境下使用该功能!否则会导致PVE WebUi重启导致Shell断开连接修改失效!"
|
||||
echo "不要犟!查看如何连接到PVE SSH教程:https://pve.oowo.cc/advanced/how-to-connect-ssh.html"
|
||||
echo "不要犟!查看如何连接到PVE SSH教程:https://pve.u3u.icu/advanced/how-to-connect-ssh.html"
|
||||
show_menu_header "系统优化"
|
||||
show_menu_option "1" "删除订阅弹窗"
|
||||
show_menu_option "2" "${MAGENTA}一键优化 (换源+删弹窗+更新)${NC}"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
igpu_gvtg_setup() {
|
||||
echo -e "${H2}开始配置 Intel 6-10代 GVT-g 核显虚拟化${NC}"
|
||||
echo -e "详细原理与教程: ${CYAN}https://pve.oowo.cc/advanced/gpu-virtualization${NC}"
|
||||
echo -e "详细原理与教程: ${CYAN}https://pve.u3u.icu/advanced/gpu-virtualization${NC}"
|
||||
echo -e "如果配置失败,请访问文档站下方留言反馈。"
|
||||
echo
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ restore_qemu_kvm() {
|
||||
intel_gpu_passthrough() {
|
||||
log_step "开始 Intel 核显直通配置"
|
||||
echo "注意:此功能基于 AICodo 的修改版 QEMU 和 ROM"
|
||||
echo "详细原理与教程:https://pve.oowo.cc/advanced/gpu-passthrough"
|
||||
echo "详细原理与教程:https://pve.u3u.icu/advanced/gpu-passthrough"
|
||||
echo "适用于需要将 Intel 核显直通给 Windows 虚拟机且遇到代码 43 或黑屏的情况"
|
||||
echo "支持的 CPU 架构:6代(Skylake) 到 14代(Raptor Lake Refresh)"
|
||||
echo "项目地址:https://github.com/AICodo/intel6-14rom"
|
||||
@@ -65,7 +65,7 @@ intel_gpu_passthrough() {
|
||||
log_warn "折腾有风险,入坑需谨慎!"
|
||||
echo
|
||||
log_tips "如果配置失败,请访问文档站查看详细教程并留言反馈:"
|
||||
log_tips "🔗 https://pve.oowo.cc/advanced/gpu-passthrough"
|
||||
log_tips "🔗 https://pve.u3u.icu/advanced/gpu-passthrough"
|
||||
echo
|
||||
log_tips "如需要反馈或者请求更新ROM文件适配你的CPU,请前往AICodo的GitHub仓库开ISSUE反馈,不是找我。"
|
||||
echo
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
igpu_sriov_setup() {
|
||||
echo -e "${H2}开始配置 Intel 11-15代 SR-IOV 核显虚拟化${NC}"
|
||||
echo -e "详细原理与教程: ${CYAN}https://pve.oowo.cc/advanced/gpu-virtualization${NC}"
|
||||
echo -e "详细原理与教程: ${CYAN}https://pve.u3u.icu/advanced/gpu-virtualization${NC}"
|
||||
echo -e "如果配置失败,请访问文档站下方留言反馈。"
|
||||
echo
|
||||
|
||||
|
||||
@@ -585,7 +585,7 @@ nvidia_setup_vgpu_unlock() {
|
||||
echo " 驱动/内核/补丁版本不匹配可能导致服务异常、宿主机告警或 VM 无法使用 vGPU。"
|
||||
echo
|
||||
echo -e "${CYAN}推荐先阅读 Wiki:${NC}"
|
||||
echo " 对应文章: https://pve.oowo.cc/advanced/nvidia-vgpu-driver-notes"
|
||||
echo " 对应文章: https://pve.u3u.icu/advanced/nvidia-vgpu-driver-notes"
|
||||
echo "${UI_DIVIDER}"
|
||||
read -p "请输入 '确认' 或 'Sure' 继续: " response
|
||||
response=$(echo "$response" | xargs)
|
||||
|
||||
@@ -96,7 +96,7 @@ check_update() {
|
||||
|
||||
echo -e "----------------------------------------------"
|
||||
echo -e "${CYAN}官方文档与最新脚本:${NC}"
|
||||
echo -e "🔗 https://pve.oowo.cc (推荐)"
|
||||
echo -e "🔗 https://pve.u3u.icu (推荐)"
|
||||
echo -e "🔗 https://github.com/PVE-Tools/PVE-Tools-9"
|
||||
echo -e "${UI_FOOTER}"
|
||||
echo -e "按 ${GREEN}回车键${NC} 进入主菜单..."
|
||||
|
||||