Proxmox customize shell
🚀 One-Line Download & Execute :
apt update && apt install -y curl && clear && curl -s https://docs.greenhome.stream/attachments/52 | bash
Option one
Go to the below path
cd /etc/profile.d/
Create file 00_lxc-details.sh
and then create a file 00_lxc-details.sh by editing with nano
nano /etc/profile.d/00_lxc-details.sh
and add the below text and changed according.
echo -e ""
echo -e "[1mGreen Home Bookstack LXC Container[m"
echo -e " 🌐 [m[33m Provided by: Green Home[m"
echo ""
echo -e " 🖥️ [m[33m OS: [1;92mDebian GNU/Linux - Version: 12[m"
echo -e " 🏠 [m[33m Hostname: [1;92m$(hostname)[m"
echo -e " 💡 [m[33m IP Address: [1;92m$(hostname -I | awk '{print $1}')[m"
echo -e ""
then press Ctrl-x then press Y and press Enter
To save and exit.