import type { Metadata } from "next" import { Sliders } from "lucide-react" export const metadata: Metadata = { title: "ProxMenux Post-Install: Customization Settings", description: "Guide to Customization Settings in the ProxMenux post-install script for configuring the Proxmox VE environment.", openGraph: { title: "ProxMenux Post-Install: Customization Settings", description: "Guide to Customization Settings in the ProxMenux post-install script for configuring the Proxmox VE environment.", type: "article", url: "https://macrimi.github.io/ProxMenux/docs/post-install/customization", images: [ { url: "https://macrimi.github.io/ProxMenux/customization-settings-image.png", width: 1200, height: 630, alt: "ProxMenux Customization Settings", }, ], }, twitter: { card: "summary_large_image", title: "ProxMenux Post-Install: Customization Settings", description: "Guide to Customization Settings in the ProxMenux post-install script for configuring the Proxmox VE environment.", images: ["https://macrimi.github.io/ProxMenux/customization-settings-image.png"], }, } function StepNumber({ number }: { number: number }) { return (
The Customization Settings section allows you to configure and personalize the Proxmox VE environment with specific adjustments.
This option modifies the root user's .bashrc
to enhance command-line usability by adding colorized
prompts and useful aliases.
What it does:
.bashrc
file
ls
and grep
aliases
.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`}
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`}
This option removes the Proxmox subscription banner and nag prompts from the web interface.
What it does:
proxmoxlib.js
to disable banner checks
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`}
These customization settings are applied automatically when selected in the post-install process. Adjustments can be made manually as needed.