mirror of https://github.com/tteck/Proxmox.git
				
				
				
			maintenance (#506)
* maintenance * maintenance * maintenance * Update debian-v4.sh * Update debian-v4.sh
This commit is contained in:
		
							parent
							
								
									12ca8e5493
								
							
						
					
					
						commit
						d9caa28a43
					
				| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} Setup should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:3000${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
	    echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
	    CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -264,7 +253,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href="https://ko-fi.com/D1D7EP4GF"><img src="https://img.shields.io/badge/%E2%98%95-Buy%20me%20a%20coffee-red" /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} Setup should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP} ${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8084${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:4000${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,5 +247,6 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} ${var_version} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ fi
 | 
			
		|||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
 | 
			
		||||
    CT_TYPE="0"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -272,7 +271,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
             ${BL}http://${IP}${CL}\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
	    echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
	    CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -263,5 +252,6 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,7 +71,6 @@ fi
 | 
			
		|||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
 | 
			
		||||
    CT_TYPE="0"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -271,7 +270,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
             ${BL}http://${IP}:8096${CL}\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:6052${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:3000${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:7990${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
	  echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
    CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -263,7 +252,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8123${CL}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8581${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} Setup should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:3000${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,5 +247,6 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8081${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -270,7 +270,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
             ${BL}http://${IP}:8096${CL}\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8080${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8080${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "Adminer should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}/adminer/${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8765${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,5 +247,6 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										14
									
								
								ct/n8n-v4.sh
								
								
								
								
							
							
						
						
									
										14
									
								
								ct/n8n-v4.sh
								
								
								
								
							| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:5678${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:4533${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/nginx-proxy-manager-install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:81${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8080/dashboard${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:1880${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ fi
 | 
			
		|||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		
 | 
			
		||||
	    echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
	    CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -261,7 +260,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}https://${IP}:8043${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8080${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:2342${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
 | 
			
		||||
		CT_TYPE="0"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" OFF \
 | 
			
		||||
"0" "Privileged" ON \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}/admin${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -270,7 +270,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
             ${BL}http://${IP}:32400/web${CL}\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -73,7 +73,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
	  echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
 | 
			
		||||
    CT_TYPE="0"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -101,16 +100,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" OFF \
 | 
			
		||||
"0" "Privileged" ON \
 | 
			
		||||
| 
						 | 
				
			
			@ -267,7 +256,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8123${CL}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "Adminer should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}/adminer/${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:9090${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -249,7 +249,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8384 ${CL} (after initial start) \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:5380${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -248,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8080${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ fi
 | 
			
		|||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
	    CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -261,5 +260,6 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} ${var_version} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP}${CL} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}https://${IP}:8443${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:3001${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_info "Setting Container to Normal Resources"
 | 
			
		||||
pct set $CTID -memory 512
 | 
			
		||||
pct set $CTID -cores 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -97,16 +96,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +247,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:5000${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
		CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -259,7 +248,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:3000${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,7 +71,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
	    echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
 | 
			
		||||
	    CT_TYPE="1"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -99,16 +98,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" ON \
 | 
			
		||||
"0" "Privileged" OFF \
 | 
			
		||||
| 
						 | 
				
			
			@ -260,7 +249,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "WGDashboard should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:10086${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
	    echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
 | 
			
		||||
	    CT_TYPE="0"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" OFF \
 | 
			
		||||
"0" "Privileged" ON \
 | 
			
		||||
| 
						 | 
				
			
			@ -269,5 +258,6 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -70,7 +70,6 @@ if [[ $PVE != 1 ]]; then
 | 
			
		|||
fi
 | 
			
		||||
}
 | 
			
		||||
function default_settings() {
 | 
			
		||||
		echo -e "${DGN}Using ${var_os} Version: ${BGN}${var_version}${CL}"
 | 
			
		||||
		echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
 | 
			
		||||
		CT_TYPE="0"
 | 
			
		||||
		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 | 
			
		||||
| 
						 | 
				
			
			@ -98,16 +97,6 @@ function default_settings() {
 | 
			
		|||
		echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
 | 
			
		||||
}
 | 
			
		||||
function advanced_settings() {
 | 
			
		||||
var_version=$(whiptail --title "DEBIAN VERSION" --radiolist "Choose Version" 10 58 2 \
 | 
			
		||||
"10" "Buster" OFF \
 | 
			
		||||
"11" "Bullseye" ON \
 | 
			
		||||
3>&1 1>&2 2>&3)
 | 
			
		||||
exitstatus=$?
 | 
			
		||||
if [ $exitstatus = 0 ]; then
 | 
			
		||||
    echo -e "${DGN}Using Debian Version: ${BGN}$var_version${CL}"
 | 
			
		||||
else
 | 
			
		||||
    exit
 | 
			
		||||
fi
 | 
			
		||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 | 
			
		||||
"1" "Unprivileged" OFF \
 | 
			
		||||
"0" "Privileged" ON \
 | 
			
		||||
| 
						 | 
				
			
			@ -270,7 +259,8 @@ msg_ok "Started LXC Container"
 | 
			
		|||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$var_install.sh)" || exit
 | 
			
		||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
 | 
			
		||||
pct set $CTID -description "# ${APP} LXC
 | 
			
		||||
### https://tteck.github.io/Proxmox/"
 | 
			
		||||
### https://tteck.github.io/Proxmox/
 | 
			
		||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${APP} should be reachable by going to the following URL.
 | 
			
		||||
         ${BL}http://${IP}:8091${CL} \n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue