Skip to content

Commit

Permalink
fix: use the Talos Linux Image Factory for downloading VM images
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
twelho committed Oct 7, 2024
1 parent 12873b2 commit dd6cd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion work/cpouta
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd6cd73

Please sign in to comment.