Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/b7e073b1c8a39b9f51e4c215ea33095cd20355e6?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Update update-lxcs.sh

pull/1020/head
tteckster 2 years ago committed by GitHub
parent d54683396e
commit b7e073b1c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,7 +40,7 @@ function update_container() {
os=`awk '/^ostype/' temp | cut -d' ' -f2` os=`awk '/^ostype/' temp | cut -d' ' -f2`
if [ "$os" == "alpine" ]; then if [ "$os" == "alpine" ]; then
pct exec $container -- ash -c "apk update && apk upgrade" pct exec $container -- ash -c "apk update && apk upgrade"
elif [ "$os" == "ubuntu" ] || [ "$PCT_OSTYPE" == "debian" ] || [ "$os" == "devuan" ]; then elif [ "$os" == "ubuntu" ] || [ "$os" == "debian" ] || [ "$os" == "devuan" ]; then
pct exec $container -- bash -c "apt-get update && apt-get -y upgrade" pct exec $container -- bash -c "apt-get update && apt-get -y upgrade"
elif [ "$os" == "fedora" ] || [ "$os" == "rocky" ] || [ "$os" == "centos" ] || [ "$os" == "alma" ]; then elif [ "$os" == "fedora" ] || [ "$os" == "rocky" ] || [ "$os" == "centos" ] || [ "$os" == "alma" ]; then
pct exec $container -- bash -c "dnf -y update && dnf -y upgrade" pct exec $container -- bash -c "dnf -y update && dnf -y upgrade"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.