From 301975e383499446135aec10dd172c165978708b Mon Sep 17 00:00:00 2001
From: MacRimi
- The Customization Settings section allows you to configure and personalize the Proxmox VE environment with specific adjustments.
+ The Customization Settings section allows you to configure and personalize the Proxmox VE
+ environment with specific adjustments.
- This option modifies the root user's What it does: This adjustment automates the following commands:
- This option customizes the MOTD to display a ProxMenux optimization message upon login.
- This option customizes the MOTD to display a ProxMenux optimization message upon login. This adjustment automates the following commands:Customization Settings
@@ -54,19 +54,26 @@ export default function CustomizationSettingsPage() {
Customize Bash Prompt and Aliases
.bashrc
to enhance command-line usability by adding colorized prompts and useful aliases.
+ This option modifies the root user's .bashrc
to enhance command-line usability by adding colorized
+ prompts and useful aliases.
-
.bashrc
file.bashrc
file
+ ls
and grep
aliases.bashrc
is sourced in .bash_profile
ls
and grep
aliases
+ .bashrc
is sourced in .bash_profile
+
+ {`# Modify .bashrc for root
cp /root/.bashrc /root/.bashrc.bak
sed -i '/HISTTIMEFORMAT/d' /root/.bashrc
sed -i '/PS1/d' /root/.bashrc
@@ -75,26 +82,24 @@ 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
- `}
- />
+source /root/.bashrc`}
+
+
-
+ {`# Backup original MOTD
cp /etc/motd /etc/motd.bak
-echo "This system is optimized by: ProxMenux" | cat - /etc/motd > temp && mv temp /etc/motd
- `}
- />
+echo "This system is optimized by: ProxMenux" | cat - /etc/motd > temp && mv temp /etc/motd`}
+
+
What it does:
proxmoxlib.js
to disable banner checksproxmoxlib.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 - `} - /> +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. + These customization settings are applied automatically when selected in the post-install process. Adjustments + can be made manually as needed.