mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 03:24:54 +08:00
Update README.md
This commit is contained in:
parent
fb81580e0f
commit
30122fac95
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,7 @@ bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubus
|
|||
- 比如debian10则是pve6.4,debian11则是pve7.x
|
||||
- /etc/hosts文件修改(修正商家hostname设置错误以及新增PVE所需的内容)
|
||||
- 已设置```/etc/hosts```为只读模式,避免重启后文件被覆写,如需修改请使用```chattr -i /etc/hosts```取消只读锁定,修改完毕请执行```chattr +i /etc/hosts```只读锁定
|
||||
- 检测```/etc/cloud/cloud.cfg```如果发现```preserve_hostname```是```false```,则改为```true```
|
||||
- 检测```/etc/cloud/cloud.cfg```如果发现```preserve_hostname```是```false```,则改为```true```,同上,也用chattr命令进行了文件锁定避免重启覆盖设置
|
||||
- 检测是否为中国IP,如果为中国IP使用清华镜像源,否则使用官方源
|
||||
- 安装PVE开虚拟机需要的必备工具包
|
||||
- 替换apt源中的企业订阅为社区源
|
||||
|
@ -119,6 +119,7 @@ curl -L https://ghproxy.com/https://raw.githubusercontent.com/spiritLHLS/pve/mai
|
|||
- 移除订阅弹窗
|
||||
- 尝试开启硬件直通
|
||||
- 检测AppArmor模块并试图安装
|
||||
- 执行完毕记得重启服务器,也就是执行```reboot```
|
||||
|
||||
```
|
||||
bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/spiritLHLS/pve/main/scripts/build_backend.sh)
|
||||
|
|
Loading…
Reference in a new issue