Skip to content
Bots!
Bots!
  • About
    • Myself
    • আমার দোয়া
  • Bookmarks
    • Bookmarks
    • My OCI Bookmarks
    • Useful Proxmox Commands & Links
    • Learning Nano
    • Useful Sites
    • Useful Virtualbox Command
    • Useful MySQL Command
    • Useful Linux Command
    • BTT-CAS
  • Resources
    • Webinar on Cloud Adoption for Project Managers
  • Photos
  • Videos
  • Downloads
Bots!

Customizations to Proxmox VE 6.0 Persistent

Rumi, September 7, 2024

This document worked for VE 7.X edition too.

Preparation

First, we’ll create a directory where we’ll store our customizations (you can call it whatever you want, as long as you are consistent across the commands):

$ sudo mkdir /usr/share/custom

Next, create the script which will apply the customizations and make it executable:

$ sudo echo '#!/usr/bin/env bash' > /usr/share/custom/apply.sh
$ sudo chmod a+x /usr/share/custom/apply.sh

Create the Hook

Finally, create a file telling apt to execute the script after being invoked:

$ sudo echo 'DPkg::Post-Invoke { "/usr/share/custom/apply.sh"; };' > /etc/apt/apt.conf.d/90custom

Now /usr/share/custom/apply.sh will be executed when apt installs or upgrades a package, reapplying the customizations. Be careful of what you put in there, though!

Make a Change Persistent

To make the customizations we made to Proxmox VE in the last article, simply execute the following commands to add them to the script reapplying the customizations (note the double >>):

$ sudo echo 'mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.disabled' >> /usr/share/custom/apply.sh
$ sudo echo 'echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list' >> /usr/share/custom/apply.sh

Example-1: Change the Logos and Virtual Machine Boot Screen on Proxmox VE 6.0

Backup Original Images

Copy the original images which we will replace to our directory of customizations:

$ sudo mkdir /usr/share/custom/backup
$ sudo cp /usr/share/pve-manager/images/{favicon.ico,logo-128.png,proxmox_logo.png} /usr/share/custom/backup/
$ sudo cp /usr/share/qemu-server/bootsplash.jpg /usr/share/custom/backup/

Copy the New Images

First make sure your new images match the specifications:

bootsplash.jpg should be 640x480 pixels
favicon.ico should be 64x64 pixels
logo-128.png should be 128x128 pixels with a transparent background
proxmox_logo.png should be 172x30 pixels with a transparent background

Then, transfer the new images to our directory of customizations (replace username with your Proxmox VE username, and pve.example.com with the hostname or IP address of your Proxmox VE host):

# run this on your local computer, while in the directory of your new images

$ scp {bootsplash.jpg,favicon.ico,logo-128.png,proxmox_logo.png} username@pve.example.com:/usr/share/custom/

Add Customization to Change the Images

Run the following command to add the customization to the script apply.sh (make note of the double >>):

$ sudo echo "cp -f /usr/share/custom/{favicon.ico,logo-128.png,proxmox_logo.png} /usr/share/pve-manager/images/" >> /usr/share/custom/apply.sh
$ sudo echo "cp -f /usr/share/custom/bootsplash.jpg /usr/share/qemu-server/" >> /usr/share/custom/apply.sh

Apply Customizations

Finally, reapply the customizations (and apply the new one above):

$ sudo /usr/share/custom/apply.sh

Example-2: Make the Subscription Warning Dialog Disappear on Proxmox VE 6.0

Add Customization to Remove Subscription Warning Dialog

$ sudo echo "sed -i.bak \"s/data.status !== 'Active'/false/g\" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js" >> /usr/share/custom/apply.sh

Apply Customizations

Finally, reapply the customizations (and apply the new one above):

$ sudo /usr/share/custom/apply.sh

That’s it! The subscription warning dialog should have disappeared when logging in. The following article will feature more Proxmox VE customizations! Stand by, and good luck!

Ref:
https://lunar.computer/news/persistent-customizations-proxmox-60/
https://lunar.computer/news/change-logos-proxmox-60/
https://lunar.computer/news/subscription-warning-proxmox-60/

Networking ProxmoxProxmox Customization

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Myself…

Hi, I am Hasan T. Emdad Rumi, an IT Project Manager & Consultant, Virtualization & Cloud Savvyfrom Dhaka, Bangladesh. I have prior experience in managing numerous local and international projects in the area of Telco VAS & NMC, National Data Center & PKI Naitonal Root and CA Infrastructure. Also engaged with several Offshore Software Development Team.

Worked with Orascom Telecom-Banglalink, Network Elites as VAS partner, BTRC, BTT (Turkey) , Mango Teleservices Limited and Access to Informaiton (A2I-UNDP)

Currently working at Oracle Corporation as Principal Technology Solution and Cloud Architect.

You can reach me [h.t.emdad at gmail.com] and I will be delighted to exchange my views.

Tags

Apache Bind Cacti CentOS CentOS 6 CentOS 7 Debain Debian Debian 10 Debian 11 Debian 12 DKIM Docker endian icinga iptables Jitsi LAMP Letsencrypt Linux Munin MySQL Nagios Nextcloud NFS nginx pfsense php Postfix powerdns Proxmox RDP squid SSH SSL Ubuntu Ubuntu 16 Ubuntu 18 Ubuntu 20 Varnish virtualbox vpn Webmin XCP-NG zimbra

Topics

Recent Posts

  • Install Jitsi on Ubuntu 22.04 / 22.10 April 30, 2025
  • Key Lessons in life April 26, 2025
  • Create Proxmox Backup Server (PBS) on Debian 12 April 19, 2025
  • Add Physical Drive in Proxmox VM Guest April 19, 2025
  • Mount a drive permanently with fstab in Linux April 16, 2025
  • Proxmox 1:1 NAT routing March 30, 2025
  • Installation steps of WSL – Windows Subsystem for Linux March 8, 2025
  • Enabling Nested Virtualization In Proxmox March 8, 2025
  • How to Modify/Change console/SSH login banner for Proxmox Virtual Environment (Proxmox VE / PVE) March 3, 2025
  • Install Proxmox Backup Server on Debian 12 February 12, 2025

Archives

Top Posts & Pages

  • Install Jitsi on Ubuntu 22.04 / 22.10
©2025 Bots! | WordPress Theme by SuperbThemes