Difference between revisions of "Hypervisors - Proxmox"
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
====Get rid of the bloody subscription notice==== | ====Get rid of the bloody subscription notice==== | ||
[https://johnscs.com/remove-proxmox51-subscription-notice/ Remove Proxmox Subscription Notice] | [https://johnscs.com/remove-proxmox51-subscription-notice/ Remove Proxmox Subscription Notice] | ||
+ | |||
+ | Basically: | ||
+ | |||
+ | * <code>sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service</code> | ||
+ | |||
====Get non-paid Proxmox to actually do updates==== | ====Get non-paid Proxmox to actually do updates==== | ||
By default, Proxmox enables '''http://enterprise.proxmox.com/debian/pve''' as its update repository. | By default, Proxmox enables '''http://enterprise.proxmox.com/debian/pve''' as its update repository. | ||
Line 30: | Line 35: | ||
# PVE pve-no-subscription repository provided by proxmox.com, | # PVE pve-no-subscription repository provided by proxmox.com, | ||
# NOT recommended for production use | # NOT recommended for production use | ||
− | deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription | + | deb <nowiki>http://download.proxmox.com/debian/pve</nowiki> bullseye pve-no-subscription |
Then: | Then: |
Latest revision as of 11:19, 10 May 2022
User Interface (on the test server...)
Contents
Learning Proxmox
Installing
<<<WIP>>>
Configuring
It's based on Debian, so... See Minimal Debian for hints about Debian
Fixing oddities
Get rid of the bloody subscription notice
Remove Proxmox Subscription Notice
Basically:
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Get non-paid Proxmox to actually do updates
By default, Proxmox enables http://enterprise.proxmox.com/debian/pve as its update repository.
You have to have a PAID subscription to use this repository...
Updates FAIL if this repository is enabled.
To fix this, you must MANUALLY edit /etc/apt/sources.list (Don't know WHY it can't be added in the GUI...)
vi /etc/apt/sources.list
& add in:
# PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
Then:
- Sign into the GUI
- Select your 'Node'
- Select 'Repositories'
- Select 'https://enterprise.proxmox.com/debian/pve'
- Hit the 'Disable' button
(Sure would be nice if this could either be completely done on the command line or done automatically during install...)
Server addressing via DHCP instead of static
Edit the interfaces file:
vi /etc/network/interfaces
& change
auto vmbr0 iface vmbr0 inet static address 192.168.8.12/23 gateway 192.168.8.1 bridge-ports eno1 bridge-stp off bridge-fd 0
to
auto vmbr0 iface vmbr0 inet dhcp bridge-ports eno1 bridge-stp off bridge-fd 0
Then ignore the address it shows on the console. (Until I figure out where in hell it's storing that...)