Applying Patches
For some functionallty you might need to patch your Proxmox Server. This is something I avoid to do, but in very rare cases it might be needed. These patches do not break anything and will open up new features for you (or enable other features to work properly).
General Setup
In order to apply patches, you need the patch
CLI tool. This can be installed with apt:
sudo apt-get install patch curl
You also probably need to restart either the whole Server or just the pvedaemon, this can be done with the following command:
sudo systemctl restart pvedaemon
LXC Terminal Patch
In order to use the Terminal for LXC Containers we need to change the host-address on which the VNC Daemon is running for the terminal session. This is by default locked to localhost in contrast to the normal Qemu sessions.
PVE 7.x:
root@pve:~# curl https://cdn.bennetgallein.de/products/ProxmoxCP/patches/lxc_terminal_pve7.patch -o lxc_terminal.patch
root@pve:~# patch --ignore-whitespace /usr/share/perl5/PVE/API2/LXC.pm < lxc_terminal.patch
PVE 8.x:
root@pve:~# curl https://cdn.bennetgallein.de/products/ProxmoxCP/patches/lxc_terminal_pve8.patch -o lxc_terminal.patch
root@pve:~# patch --ignore-whitespace /usr/share/perl5/PVE/API2/LXC.pm < lxc_terminal.patch
Do you require help?
Wether you have encountered a Bug, ran into a problem setting something up or require generall assistance using some of the features, we want to help you with that.
On our Discord-Server you can ask for help of any kind, suggest new ideas for our products or just hangout and chat!