mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 21:31:03 +00:00
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
This commit is contained in:
parent
d921510af3
commit
ebe08b345c
1 changed files with 2 additions and 2 deletions
|
|
@ -34,11 +34,11 @@ var (
|
||||||
}
|
}
|
||||||
|
|
||||||
serverTypePerArchitecture = map[hcloud.Architecture]*hcloud.ServerType{
|
serverTypePerArchitecture = map[hcloud.Architecture]*hcloud.ServerType{
|
||||||
hcloud.ArchitectureX86: {Name: "cx11"},
|
hcloud.ArchitectureX86: {Name: "cx22"},
|
||||||
hcloud.ArchitectureARM: {Name: "cax11"},
|
hcloud.ArchitectureARM: {Name: "cax11"},
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultImage = &hcloud.Image{Name: "ubuntu-22.04"}
|
defaultImage = &hcloud.Image{Name: "ubuntu-24.04"}
|
||||||
defaultLocation = &hcloud.Location{Name: "fsn1"}
|
defaultLocation = &hcloud.Location{Name: "fsn1"}
|
||||||
defaultRescueType = hcloud.ServerRescueTypeLinux64
|
defaultRescueType = hcloud.ServerRescueTypeLinux64
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue