Skip to main content

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 "^[[1mLXC Container^[[m"
echo -e "    🌐  ^[[m^[[33m Provided by: Ins0mniA^[[m"
echo -e ""
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.

Create file