Proxmox customize shell
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 "^[[1mGreenGreen Home Bookstack LXC Container^[[m"Container"
echo -e " 🌐 ^[[m^[[33m Provided by: Green Home^[[m"Home"
echo ""
echo -e " 🖥️ ^[[m^[[33m OS: ^[[1;92mDebianDebian GNU/Linux - Version: 12^[[m"12"
echo -e " 🏠 ^[[m^[[33m Hostname: ^[[1;92m$$(hostname)^[[m""
echo -e " 💡 ^[[m^[[33m IP Address: ^[[1;92m$$(hostname -I | awk '{print $1}')^[[m""
then press Ctrl-x then press Y and press Enter
To save and exit.