Customization Settings
The Customization Settings section allows you to configure and personalize the Proxmox VE environment with specific adjustments.
1Customize Bash Prompt and Aliases
This option modifies the root user's .bashrc
to enhance command-line usability by adding colorized prompts and useful aliases.
What it does:
- Backs up the original
.bashrc
file - Configures a custom prompt with timestamp
- Adds colorized
ls
andgrep
aliases - Ensures
.bashrc
is sourced in.bash_profile
This adjustment automates the following commands:
# Modify .bashrc for root cp /root/.bashrc /root/.bashrc.bak sed -i '/HISTTIMEFORMAT/d' /root/.bashrc sed -i '/PS1/d' /root/.bashrc sed -i '/alias/d' /root/.bashrc echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> /root/.bashrc echo 'export PS1="\u@\h:\W \$ "' >> /root/.bashrc echo "alias ll='ls -alF'" >> /root/.bashrc source /root/.bashrc
2Configure MOTD (Message of the Day)
This option customizes the MOTD to display a ProxMenux optimization message upon login.
This adjustment automates the following commands:
# Backup original MOTD cp /etc/motd /etc/motd.bak echo "This system is optimized by: ProxMenux" | cat - /etc/motd > temp && mv temp /etc/motd
3Remove Proxmox Subscription Banner
This option removes the Proxmox subscription banner and nag prompts from the web interface.
What it does:
- Patches
proxmoxlib.js
to disable banner checks - Creates a cron job to ensure banner removal persists
- Configures APT to prevent nagging messages
This adjustment automates the following commands:
# Remove Proxmox subscription banner sed -i "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js sed -i "s/checked_command: function(orig_cmd) {/checked_command: function() {} || function(orig_cmd) {/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\\.js$'; if [ $\? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!/\!/;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/xs-pve-no-nag
Customization Application
These customization settings are applied automatically when selected in the post-install process. Adjustments can be made manually as needed.