Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/61ef881908b7a391433d29cf36e556e486294e50?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
47 additions and
2 deletions
@ -36,8 +36,8 @@ show_menu(){
}
option_picked( ) {
message = ${ @ :- " ${ CL } Error: No message passed " }
printf " ${ YW } ${ message } ${ CL } \n "
message 1 = ${ @ :- " ${ CL } Error: No message passed " }
printf " ${ YW } ${ message 1 } ${ CL } \n "
}
show_menu
while [ $opt != '' ]
@ -70,6 +70,50 @@ while [ $opt != '' ]
esac
fi
done
show_menu2( ) {
printf " ${ YW } 1) ${ GN } Use Automatic Login ${ CL } \n "
printf " ${ YW } 2) ${ GN } Use Password (changeme) ${ CL } \n "
printf " Please choose a Password Type and hit enter or ${ RD } x ${ CL } to exit. "
read opt
}
option_picked( ) {
message = ${ @ :- " ${ CL } Error: No message passed " }
printf " ${ YW } ${ message1 } ${ CL } \n "
printf " ${ YW } ${ message } ${ CL } \n "
}
show_menu2
while [ $opt != '' ]
do
if [ $opt = '' ] ; then
exit;
else
case $opt in
1) clear;
header_info;
option_picked "Using Automatic Login" ;
PW = " "
break;
; ;
2) clear;
header_info;
option_picked "Using Password (changeme)" ;
PW = "-password changeme"
break;
; ;
x) exit;
; ;
\n ) exit;
; ;
*) clear;
option_picked "Please choose a Password Type from the menu" ;
show_menu2;
; ;
esac
fi
done
set -o errexit
set -o errtrace
@ -138,6 +182,7 @@ export PCT_OPTIONS="
-cores 2
-memory 2048
-unprivileged ${ IM }
${ PW }
"
bash -c " $( wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/create_lxc.sh) " || exit