mirror of
https://github.com/apricote/flatcar-packer-hcloud.git
synced 2026-01-13 13:21:01 +00:00
feat: cx11 is deprecated and will be removed in 2 months
This commit is contained in:
parent
a47095bd2d
commit
faf55050e4
1 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ variable "hcloud_token" {
|
||||||
variable "hcloud_server_type" {
|
variable "hcloud_server_type" {
|
||||||
type = map(string)
|
type = map(string)
|
||||||
default = {
|
default = {
|
||||||
x86 = "cx11"
|
x86 = "cx22"
|
||||||
arm = "cax11"
|
arm = "cax11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -63,7 +63,7 @@ data "http" "version_info" {
|
||||||
source "hcloud" "flatcar" {
|
source "hcloud" "flatcar" {
|
||||||
token = var.hcloud_token
|
token = var.hcloud_token
|
||||||
|
|
||||||
image = "ubuntu-22.04"
|
image = "ubuntu-24.04"
|
||||||
location = "fsn1"
|
location = "fsn1"
|
||||||
rescue = "linux64"
|
rescue = "linux64"
|
||||||
|
|
||||||
|
|
@ -74,7 +74,7 @@ source "hcloud" "flatcar" {
|
||||||
build {
|
build {
|
||||||
dynamic "source" {
|
dynamic "source" {
|
||||||
for_each = local.architectures
|
for_each = local.architectures
|
||||||
labels = ["hcloud.flatcar"]
|
labels = ["hcloud.flatcar"]
|
||||||
|
|
||||||
content {
|
content {
|
||||||
name = source.value
|
name = source.value
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue