diff --git a/scripts/customizable_post_install.sh b/scripts/customizable_post_install.sh index ad13ba7..416ca86 100644 --- a/scripts/customizable_post_install.sh +++ b/scripts/customizable_post_install.sh @@ -2450,6 +2450,7 @@ for index in "${!sorted_options[@]}"; do /usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' autoclean >/dev/null 2>&1 msg_ok "$(translate "Cleanup finished")" msg_info2 "$(translate "You can reboot later manually.")" + exit 0 fi fi diff --git a/web/app/docs/post-install/customization/page.tsx b/web/app/docs/post-install/customization/page.tsx index 0accd84..b9d8a6a 100644 --- a/web/app/docs/post-install/customization/page.tsx +++ b/web/app/docs/post-install/customization/page.tsx @@ -1,6 +1,5 @@ import type { Metadata } from "next" import { Sliders } from "lucide-react" -import CopyableCode from "@/components/CopyableCode" export const metadata: Metadata = { title: "ProxMenux Post-Install: Customization Settings", @@ -46,7 +45,8 @@ export default function CustomizationSettingsPage() {
- 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 .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.
What it does:
.bashrc
file.bashrc
file
+ ls
and grep
aliases.bashrc
is sourced in .bash_profile
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 @@ -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`} ++
- 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:
-+ {`# 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.