Back
Please upgrade your browser or check your network connection.

去掉PVE订阅提示以及升级到最新

去掉PVE订阅提示

支持版本 5.1-5.2

1cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak
2
3sed -i "s#data.status !== 'Active'#false#g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

PVE升级到最新

  1. ssh连接 PVE

  2. 更换 /etc/apt/sources.list内容为

1deb http://ftp.debian.org/debian stretch main contrib
2# PVE pve-no-subscription repository provided by proxmox.com,
3# NOT recommended for production use
4deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
5# security updates
6deb http://security.debian.org stretch/updates main contrib
  1. 移除pve企业订阅源
1rm /etc/apt/sources.list.d/pve-enterprise.list
  1. 更新
1apt update
2apt dist-upgrade