Fix version

This commit is contained in:
Serge Logvinov
2021-10-21 22:55:11 +03:00
parent 3a5e741737
commit 3226555d22
2 changed files with 4 additions and 4 deletions

View File

@@ -31,8 +31,8 @@ build {
provisioner "shell" { provisioner "shell" {
inline = [ inline = [
"apt-get install -y wget", "apt-get install -y wget",
"wget -O /tmp/talos.tar.gz ${local.image}", "wget -O /tmp/talos.raw.xz ${local.image}",
"tar xOzf /tmp/talos.tar.gz | dd of=/dev/sda && sync", "xz -d -c /tmp/talos.raw.xz | dd of=/dev/sda && sync",
] ]
} }
} }

View File

@@ -7,9 +7,9 @@ variable "hcloud_token" {
variable "talos_version" { variable "talos_version" {
type = string type = string
default = "v0.12.0" default = "v0.13.0"
} }
locals { locals {
image = "https://github.com/talos-systems/talos/releases/download/${var.talos_version}/openstack-amd64.tar.gz" image = "https://github.com/talos-systems/talos/releases/download/${var.talos_version}/hcloud-amd64.raw.xz"
} }