Proxmox modifications
Go to file
2025-09-06 14:15:41 +02:00
.github/ISSUE_TEMPLATE Update issue templates (#55) 2024-06-16 13:27:14 +02:00
.gitignore Ask user for input for CPU configuration (#4) 2023-07-08 22:36:44 +02:00
pve-mod-all.sh Multiple changes: 2024-04-26 09:13:47 +02:00
pve-mod-gui-sensors.sh Make installation safer (#94) 2025-09-06 14:15:41 +02:00
pve-mod-nag-screen.sh Adjust regex to a changed nag screen function signature (#104) 2025-07-20 13:33:33 +02:00
pve-mod-sensors.png Multiple changes: 2024-04-26 09:13:47 +02:00
readme.md Make installation safer (#94) 2025-09-06 14:15:41 +02:00
updateallcontainers.sh Change pct to full path for all uses to make it functional for cron 2023-07-18 21:43:47 +02:00

Proxmox Virtual Environment mods and scripts

A small collection of scripts and mods for Proxmox Virtual Environment (PVE)

If you find this helpful, a small donation is appreciated, Donate.

Node sensor readings view

(Tested compatibility: 9.x. Using older version (7.x-8.x), use git version from Apr 6th 2025) Promxox temp mod

This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) to display sensor readings in a flexible and readable manner. Supported are CPU, NVMe/HDD/SSD temperatures (Celsius/Fahrenheit), fan speeds, ram temperatures, mixed CPU's core nodes setups, motherboard information or system information.

The modification includes three main steps:

  1. Create backups of the original files located at /usr/share/pve-manager/js/pvemanagerlib.js and /usr/share/perl5/PVE/API2/Nodes.pm in users home directory/PVE_MODS.
  2. Add a new code to the Nodes.pm file that enables host system sensor readings using the sensors command.
  3. Modify the pvemanagerlib.js file to expand the space in the node status view, add new items that display the temperature information in Celsius for CPUs, NVMe drives, HDDs/SSDs and fan speeds (the actual item list depends on the sensor readings available during the installation). The view layout is also adjusted to no longer match the column number setting and always expands to the full width of the browser window. It is also possible to collapse the panel vertically.
  4. Finally, the script also restarts the pveproxy service to apply the changes.

The script provides three options:

Option Description
install Installs the modification by applying the necessary changes.
uninstall Removes the modification by restoring the original files from backups.
save-sensors-data Saves a local copy of your sensor data for reference or backup.

Note: For HDDs/SSDs readings to work, the kernel module drivetemp must be installed.

Install

Instructions be performed as 'root', as normal users do not have access to the files.

apt-get install lm-sensors
# lm-sensors must be configured, run below to configure your sensors, apply temperature offsets. Refer to lm-sensors manual for more information.
sensors-detect 
wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/pve-mod-gui-sensors.sh
bash pve-mod-gui-sensors.sh install
# Then clear the browser cache to ensure all changes are visualized.

Additionally, adjustments are available in the first part of the script, where paths can be edited, cpucore offset and display information.

Nag screen deactivation

(Tested compatibility: 7.x - 8.3.5) This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) which deactivates the subscription nag screen.

The modification includes two main steps:

  1. Create backups of the original files in the backup directory relative to the script location.
  2. Modify code.

The script provides three options:

Option Description
install Installs the modification by applying the necessary changes.
uninstall Removes the modification by restoring the original files from backups.

Install

Instructions be performed as 'root', as normal users do not have access to the files.

wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/pve-mod-nag-screen.sh
bash pve-mod-nag-screen.sh install

Script to update all containers

(Tested compatibility: 7.x - 8.3.5)

This script updates all running Proxmox containers, skipping specified excluded containers, and generates a separate log file for each container. The script first updates the Proxmox host system, then iterates through each container, updates the container, and reboots it if necessary. Each container's log file is stored in $log_path and the main script log file is named container-upgrade-main.log.

Install

wget https://raw.githubusercontent.com/Meliox/PVE-mods/main/updateallcontainers.sh

Or use git clone. Can be added to cron for e.g. monthly update: 0 6 1 * * /root/scripts/updateallcontainers.sh