From 85b78a97b8b0df097f1235ed1627ab88ae00c8e2 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 6 Mar 2025 22:04:12 +0100 Subject: [PATCH] Update --- .../docs/post-install/customization/page.tsx | 117 +++++++++++++++++- 1 file changed, 113 insertions(+), 4 deletions(-) diff --git a/web/app/docs/post-install/customization/page.tsx b/web/app/docs/post-install/customization/page.tsx index ec5e31c..0accd84 100644 --- a/web/app/docs/post-install/customization/page.tsx +++ b/web/app/docs/post-install/customization/page.tsx @@ -1,11 +1,41 @@ 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", description: - "Detailed guide to Customization Settings in the ProxMenux post-install script for personalizing your Proxmox VE environment.", - // ... (rest of the metadata remains the same) + "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 ( +
+ {number} +
+ ) } export default function CustomizationSettingsPage() { @@ -15,8 +45,87 @@ export default function CustomizationSettingsPage() {

Customization Settings

- {/* ... (rest of the component remains the same) */} +

+ The Customization Settings section allows you to configure and personalize the Proxmox VE environment with specific adjustments. +

+ +

+ + Customize 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:

+ +

This adjustment automates the following commands:

+ > /root/.bashrc +echo 'export PS1="\\u@\\h:\\W \\\$ "' >> /root/.bashrc +echo "alias ll='ls -alF'" >> /root/.bashrc +source /root/.bashrc + `} + /> + +

+ + Configure MOTD (Message of the Day) +

+

+ This option customizes the MOTD to display a ProxMenux optimization message upon login. +

+

This adjustment automates the following commands:

+ temp && mv temp /etc/motd + `} + /> + +

+ + Remove 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:

+ /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. +

+
) } -