From faf55050e43e811e4d7caa40dda22e94597ab8ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Tue, 2 Jul 2024 17:59:09 +0200 Subject: [PATCH] feat: cx11 is deprecated and will be removed in 2 months --- flatcar.pkr.hcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flatcar.pkr.hcl b/flatcar.pkr.hcl index 4d1c0cf..4979784 100644 --- a/flatcar.pkr.hcl +++ b/flatcar.pkr.hcl @@ -16,7 +16,7 @@ variable "hcloud_token" { variable "hcloud_server_type" { type = map(string) default = { - x86 = "cx11" + x86 = "cx22" arm = "cax11" } } @@ -63,7 +63,7 @@ data "http" "version_info" { source "hcloud" "flatcar" { token = var.hcloud_token - image = "ubuntu-22.04" + image = "ubuntu-24.04" location = "fsn1" rescue = "linux64" @@ -74,7 +74,7 @@ source "hcloud" "flatcar" { build { dynamic "source" { for_each = local.architectures - labels = ["hcloud.flatcar"] + labels = ["hcloud.flatcar"] content { name = source.value