Update debian.sh

This commit is contained in:
tteckster 2022-03-02 09:45:50 -05:00 committed by GitHub
parent aed987a17e
commit 416ee5ae84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ CM='\xE2\x9C\x94\033'
GN=`echo "\033[1;92m"` GN=`echo "\033[1;92m"`
CL=`echo "\033[m"` CL=`echo "\033[m"`
while true; do while true; do
read -p "This will create a New Debian Bulleyes LXC. Proceed(y/n)?" yn read -p "This will create a New Debian Bulleye LXC. Proceed(y/n)?" yn
case $yn in case $yn in
[Yy]* ) break;; [Yy]* ) break;;
[Nn]* ) exit;; [Nn]* ) exit;;
@ -156,4 +156,4 @@ lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/m
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
echo -e "${GN}Successfully created Debian Bulleyes LXC to${CL} ${BL}$CTID${CL}. \n" echo -e "${GN}Successfully created Debian Bulleye LXC to${CL} ${BL}$CTID${CL}. \n"