From e71b8cd2de575a76c77a4252f0d5535253f5e100 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 15 Oct 2023 07:27:56 -0400 Subject: [PATCH] Update openwrt.sh fixes https://github.com/tteck/Proxmox/issues/1924 --- vm/openwrt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/openwrt.sh b/vm/openwrt.sh index 9c511e37..b9bc088e 100644 --- a/vm/openwrt.sh +++ b/vm/openwrt.sh @@ -431,8 +431,8 @@ msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location." msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}." msg_info "Getting URL for OpenWrt Disk Image" -regex='Current Stable Release - OpenWrt ([^/]*)<\/strong>' && response=$(curl -s https://openwrt.org) && [[ $response =~ $regex ]] && stableVersion="${BASH_REMATCH[1]}" -URL=https://downloads.openwrt.org/releases/$stableVersion/targets/x86/64/openwrt-$stableVersion-x86-64-generic-ext4-combined.img.gz +# regex='Current Stable Release - OpenWrt ([^/]*)<\/strong>' && response=$(curl -s https://openwrt.org) && [[ $response =~ $regex ]] && stableVersion="${BASH_REMATCH[1]}" +URL=https://downloads.openwrt.org/releases/23.05.0/targets/x86/64/openwrt-23.05.0-x86-64-generic-ext4-combined.img.gz sleep 2 msg_ok "${CL}${BL}${URL}${CL}"