forked from Proxmox/proxmox
2a1fb9bfdd
For PVE, URIs without the final "/pve" are also valid. Make the single URL response a vector and iterate over it, lower index is preferred. Reported in the community forum: https://forum.proxmox.com/threads/pve-7-0-9-no-proxmox-ve-repository-enabled.92427/ Signed-off-by: Fabian Ebner <f.ebner@proxmox.com> [ Thomas: extend commit message slightly ] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>