Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/d9bb820ae95b6050e1bb948abb943ad9b3579fb1?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
1 deletions
@ -5,6 +5,7 @@ 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) }' )
DEV = $( curl -s https://raw.githubusercontent.com/home-assistant/version/master/dev.json | grep "ova" | awk '{print substr($2, 2, length($2)-3) }' )
DEV = $( curl -s https://raw.githubusercontent.com/home-assistant/version/master/dev.json | grep "ova" | awk '{print substr($2, 2, length($2)-3) }' )
LATEST = $( curl -s https://api.github.com/repos/home-assistant/operating-system/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }' )
YW = ` echo "\033[33m" `
YW = ` echo "\033[33m" `
BL = ` echo "\033[36m" `
BL = ` echo "\033[36m" `
HA = ` echo "\033[1;34m" `
HA = ` echo "\033[1;34m" `
@ -107,10 +108,11 @@ function default_settings() {
echo -e " ${ BL } Creating a HAOS VM using the above default settings ${ CL } "
echo -e " ${ BL } Creating a HAOS VM using the above default settings ${ CL } "
}
}
function advanced_settings( ) {
function advanced_settings( ) {
BRANCH = $( whiptail --title "HAOS VERSION" --radiolist "Choose Version" --cancel-button Exit-Script 10 58 3 \
BRANCH = $( whiptail --title "HAOS VERSION" --radiolist "Choose Version" --cancel-button Exit-Script 10 58 4 \
" $STABLE " "Stable" ON \
" $STABLE " "Stable" ON \
" $BETA " "Beta" OFF \
" $BETA " "Beta" OFF \
" $DEV " "Dev" OFF \
" $DEV " "Dev" OFF \
" $LATEST " "Latest" OFF \
3>& 1 1>& 2 2>& 3)
3>& 1 1>& 2 2>& 3)
exitstatus = $?
exitstatus = $?
if [ $exitstatus = 0 ] ; then echo -e " ${ DGN } Using HAOS Version: ${ BGN } $BRANCH ${ CL } " ; fi
if [ $exitstatus = 0 ] ; then echo -e " ${ DGN } Using HAOS Version: ${ BGN } $BRANCH ${ CL } " ; fi