[pve-devel] [PATCH v6 pve-manager 5/5] ui: node config: enable release upgrade button for package repositories

Fabian Ebner f.ebner at proxmox.com
Fri Jun 11 13:44:18 CEST 2021


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---

New in v6.

depends on pve-rs using proxmox-apt 0.2.0 to be enabled in the backend too

 www/manager6/node/Config.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/www/manager6/node/Config.js b/www/manager6/node/Config.js
index b93a4eed..30329341 100644
--- a/www/manager6/node/Config.js
+++ b/www/manager6/node/Config.js
@@ -253,10 +253,8 @@ Ext.define('PVE.node.Config', {
 		    iconCls: 'fa fa-files-o',
 		    itemId: 'aptrepositories',
 		    nodename: nodename,
-		    // FIXME enable for the stable branch, once the release is available
-		    // and insert the link to the upgrade article
-		    majorUpgradeAllowed: false,
-		    majorUpgradeLink: 'FIXME',
+		    majorUpgradeAllowed: Proxmox.UserName === 'root at pam',
+		    majorUpgradeLink: 'https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0',
 		},
 		{
 		    xtype: 'pveFirewallRules',
-- 
2.20.1






More information about the pve-devel mailing list