From dd6cd73e006e64c09c9a71b66bd500f70987b195 Mon Sep 17 00:00:00 2001 From: Dennis Marttinen Date: Mon, 7 Oct 2024 11:35:27 +0300 Subject: [PATCH] fix: use the Talos Linux Image Factory for downloading VM images Downloading the `openstack` image from GitHub releases has been [deprecated](https://github.com/siderolabs/talos/releases/tag/v1.8.0) since v1.8.0, so we need to use the image factory instead. Signed-off-by: Dennis Marttinen --- work/cpouta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/work/cpouta b/work/cpouta index 583516b..815bc1c 100755 --- a/work/cpouta +++ b/work/cpouta @@ -94,7 +94,7 @@ set -o pipefail # Upload disk image if [ "$(openstack image list --name talos -f json | jq length)" -eq 0 ]; then _talos_version=$(talosctl version --client --short | grep -Eo "v([0-9.]+)$") - openstack image create --disk-format raw --file <(curl -L "https://github.com/siderolabs/talos/releases/download/$_talos_version/openstack-amd64.raw.xz" | sponge | unxz -) talos + openstack image create --disk-format raw --file <(curl -fL "https://factory.talos.dev/image/376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba/$_talos_version/openstack-amd64.raw.xz" | sponge | unxz -) talos fi # Create network and subnet