本文最后更新于 375 天前,其中的信息可能已经有所发展或是发生改变。
1.删除企业源
rm /etc/apt/sources.list.d/pve-enterprise.list
2:apt-get update
更新一下,不然会报错:Unable to locate package git
3:
export LC_ALL=en_US.UTF-8 apt update && apt -y install git && git clone https://github.com/ivanhao/pvetools.git
4:运行
cd pvetools
./pvetools.sh