Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/aee311706eb7475818c7535c82870228d37afe48?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
1 deletions
@ -5,7 +5,7 @@
# License: MIT
# License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE
# https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info {
function header_info( ) {
clear
clear
cat <<"EOF"
cat <<"EOF"
________ __ _ ________
________ __ _ ________
@ -44,6 +44,13 @@ function clean_container() {
}
}
for container in $containers ; do
for container in $containers ; do
os = $( pct config " $container " | awk '/^ostype/ {print $2}' )
if [ " $os " != "debian" ] && [ " $os " != "ubuntu" ] ; then
header_info
echo -e " ${ BL } [Info] ${ GN } Skipping ${ name } ${ RD } $container is not Debian or Ubuntu ${ CL } \n "
sleep 1
continue
fi
status = $( pct status $container )
status = $( pct status $container )
template = $( pct config $container | grep -q "template:" && echo "true" || echo "false" )
template = $( pct config $container | grep -q "template:" && echo "true" || echo "false" )
if [ " $template " = = "false" ] && [ " $status " = = "status: stopped" ] ; then
if [ " $template " = = "false" ] && [ " $status " = = "status: stopped" ] ; then