1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Disable ProxMox Nagging Subscription Popup and Enterprise Apt Repository</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="How To,Tutorial,i12bretro,Proxmox,Hypervisor,Nag Screen,Enterprise,Community,Debian,Linux">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Disable ProxMox Nagging Subscription Popup and Enterprise Apt Repository">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Disable ProxMox Nagging Subscription Popup and Enterprise Apt Repository</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>Log into ProxMox VE, either at the console or the web UI and launch the web shell</li>
- <li>Run the following commands
- <div class="codeBlock"># disable proxmox commmercial repo<br />
- sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list<br />
- # add the proxmox community repo<br />
- echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-community.list<br />
- # update software repositories<br />
- apt update<br />
- # remove no subscription nag popup<br />
- # if running promox 6<br />
- sed -i.bak 's/NotFound/Active/g' /usr/share/perl5/PVE/API2/Subscription.pm<br />
- # if running proxmox 7<br />
- sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js<br />
- # restart pveproxy service<br />
- systemctl restart pveproxy.service</div>
- </li>
- <li>After running the commands, log out of ProxMox VE web UI and log back in</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|