浏览代码

Update openwrt.sh

fixes https://github.com/tteck/Proxmox/issues/1924
tteckster 1 年之前
父节点
当前提交
e71b8cd2de
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      vm/openwrt.sh

+ 2 - 2
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='<strong>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='<strong>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}"