项目地址(GitHub):https://hub.fastgit.org/ivanhao/pvetools
功能:

安装:
命令行安装:
需要用root账号来运行 强烈建议先删除企业源:
rm /etc/apt/sources.list.d/pve-enterprise.list
在终端中按行分别执行以下内容:
export LC_ALL=en_US.UTF-8
apt update && apt -y install git && git clone https://hub.fastgit.org/ivanhao/pvetools.git
cd pvetools
./pvetools.sh
一键无脑安装:
echo "nameserver 223.5.5.5" >> /etc/resolv.conf && rm /etc/apt/sources.list.d/pve-enterprise.list && export LC_ALL=en_US.UTF-8 && apt update && apt -y install git && git clone https://hub.fastgit.org/ivanhao/pvetools.git && cd pvetools && ./pvetools.sh
运行:
在shell中进入pvetools目录,输入./pvetools.sh
如果提示没有权限,输入chmod +x ./*.sh