Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/651e7579a3b1d445e978388159578a5f405f1a25?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
4 deletions
@ -5,8 +5,10 @@ RD=`echo "\033[01;31m"`
CM = '\xE2\x9C\x94\033'
CM = '\xE2\x9C\x94\033'
GN = ` echo "\033[1;92m" `
GN = ` echo "\033[1;92m" `
CL = ` echo "\033[m" `
CL = ` echo "\033[m" `
APP = "Debian"
HN = $( echo ${ APP ,, } | tr -d ' ' )
while true; do
while true; do
read -p "This will create a New Debian Bulleye LXC. Proceed(y/n)?" yn
read -p " This will create a New ${ APP } LXC. Proceed(y/n)? " yn
case $yn in
case $yn in
[ Yy] * ) break; ;
[ Yy] * ) break; ;
[ Nn] * ) exit; ;
[ Nn] * ) exit; ;
@ -132,7 +134,7 @@ export PCT_OSVERSION=11
export PCT_DISK_SIZE = 2
export PCT_DISK_SIZE = 2
export PCT_OPTIONS = "
export PCT_OPTIONS = "
-features $FEATURES
-features $FEATURES
-hostname debian
-hostname $HN
-net0 name = eth0,bridge= vmbr0,ip= dhcp
-net0 name = eth0,bridge= vmbr0,ip= dhcp
-onboot 1
-onboot 1
-cores 1
-cores 1
@ -152,8 +154,8 @@ echo -e "${CM}${CL} \r"
alias lxc-cmd= " lxc-attach -n $CTID -- "
alias lxc-cmd= " lxc-attach -n $CTID -- "
lxc-cmd bash -c " $( wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/debian -install.sh) " || exit
lxc-cmd bash -c " $( wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/$HN -install.sh) " || exit
IP = $( pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}' )
IP = $( pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}' )
echo -e " ${ GN } Successfully created Debian Bulleye LXC to${ CL } ${ BL } $CTID ${ CL } . \n "
echo -e " ${ GN } Successfully created ${ APP } LXC to${ CL } ${ BL } $CTID ${ CL } . \n "