Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/0f71fadbd5958fe7fa6c914f6e50dbded45541d9?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
14 additions and
11 deletions
@ -1,6 +1,18 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
echo -e "Loading..."
function header_info {
GEN_MAC = $( echo '00 60 2f' $( od -An -N3 -t xC /dev/urandom) | sed -e 's/ /:/g' | tr '[:lower:]' '[:upper:]' )
cat <<"EOF"
__ __ ___ _ __ __ ____ _____
/ / / /___ ____ ___ ___ v4 / | __________( _) ____/ /_____ _____ / /_ / __ \/ ___/
/ /_/ / __ \/ __ ` __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ ` / __ \/ __/ / / / /\_ _ \
/ __ / /_/ / / / / / / __/ / ___ | ( __ | __ ) ( __ ) /_/ /_/ / / / / /_ / /_/ /___/ /
/_/ /_/\_ ___/_/ /_/ /_/\_ __/ /_/ | _/____/____/_/____/\_ _/\_ _,_/_/ /_/\_ _/ \_ ___//____/
EOF
}
clear
header_info
echo -e "\n Loading..."
GEN_MAC = $( echo 'AE 1A 60' $( od -An -N3 -t xC /dev/urandom) | sed -e 's/ /:/g' | tr '[:lower:]' '[:upper:]' )
NEXTID = $( pvesh get /cluster/nextid)
NEXTID = $( pvesh get /cluster/nextid)
STABLE = $( curl -s https://raw.githubusercontent.com/home-assistant/version/master/stable.json | grep "ova" | awk '{print substr($2, 2, length($2)-3) }' )
STABLE = $( curl -s https://raw.githubusercontent.com/home-assistant/version/master/stable.json | grep "ova" | awk '{print substr($2, 2, length($2)-3) }' )
BETA = $( curl -s https://raw.githubusercontent.com/home-assistant/version/master/beta.json | grep "ova" | awk '{print substr($2, 2, length($2)-3) }' )
BETA = $( curl -s https://raw.githubusercontent.com/home-assistant/version/master/beta.json | grep "ova" | awk '{print substr($2, 2, length($2)-3) }' )
@ -64,16 +76,7 @@ else
echo -e "⚠ User exited script \n"
echo -e "⚠ User exited script \n"
exit
exit
fi
fi
function header_info {
cat <<"EOF"
__ __ ___ _ __ __ ____ _____
/ / / /___ ____ ___ ___ v4 / | __________( _) ____/ /_____ _____ / /_ / __ \/ ___/
/ /_/ / __ \/ __ ` __ \/ _ \ / /| | / ___/ ___/ / ___/ __/ __ ` / __ \/ __/ / / / /\_ _ \
/ __ / /_/ / / / / / / __/ / ___ | ( __ | __ ) ( __ ) /_/ /_/ / / / / /_ / /_/ /___/ /
/_/ /_/\_ ___/_/ /_/ /_/\_ __/ /_/ | _/____/____/_/____/\_ _/\_ _,_/_/ /_/\_ _/ \_ ___//____/
EOF
}
function msg_info( ) {
function msg_info( ) {
local msg = " $1 "
local msg = " $1 "
echo -ne " ${ HOLD } ${ YW } ${ msg } ... "
echo -ne " ${ HOLD } ${ YW } ${ msg } ... "