mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-11-03 03:38:35 +00:00
Fix version
This commit is contained in:
@@ -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",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user