From ebe08b345c8f31df73087b091fa39f5fdc195156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Sun, 23 Jun 2024 16:25:58 +0200 Subject: [PATCH] feat: update default x86 server type to cx22 (#38) `cx11` is deprecated and will be removed in September. Changelog: https://docs.hetzner.cloud/changelog#2024-06-06-old-server-types-with-shared-intel-vcpus-are-deprecated --- hcloudimages/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hcloudimages/client.go b/hcloudimages/client.go index d42bbc8..7240ef7 100644 --- a/hcloudimages/client.go +++ b/hcloudimages/client.go @@ -34,11 +34,11 @@ var ( } serverTypePerArchitecture = map[hcloud.Architecture]*hcloud.ServerType{ - hcloud.ArchitectureX86: {Name: "cx11"}, + hcloud.ArchitectureX86: {Name: "cx22"}, hcloud.ArchitectureARM: {Name: "cax11"}, } - defaultImage = &hcloud.Image{Name: "ubuntu-22.04"} + defaultImage = &hcloud.Image{Name: "ubuntu-24.04"} defaultLocation = &hcloud.Location{Name: "fsn1"} defaultRescueType = hcloud.ServerRescueTypeLinux64