add timeout for arm instances

This commit is contained in:
Serge Logvinov
2023-04-18 18:12:35 +03:00
parent 8538df9856
commit 3fb5c0f78e
2 changed files with 12 additions and 9 deletions

View File

@@ -57,11 +57,11 @@ controlplane = {
}, },
"fsn1" = { "fsn1" = {
count = 1, count = 1,
type = "cpx21", type = "cax21",
}, },
"hel1" = { "hel1" = {
count = 1, count = 1,
type = "cax21", type = "cpx21",
} }
} }

View File

@@ -9,14 +9,17 @@ packer {
} }
source "hcloud" "talos" { source "hcloud" "talos" {
token = var.hcloud_token token = var.hcloud_token
rescue = "linux64" rescue = "linux64"
image = "debian-11" image = "debian-11"
location = var.hcloud_location location = var.hcloud_location
server_type = var.hcloud_type server_type = var.hcloud_type
ssh_username = "root"
snapshot_name = "talos system disk" ssh_username = "root"
ssh_timeout = "15m"
ssh_disable_agent_forwarding = true
snapshot_name = "talos system disk ${substr(var.hcloud_type, 0, 2) == "ca" ? "arm64" : "amd64"}"
snapshot_labels = { snapshot_labels = {
type = "infra", type = "infra",
os = "talos", os = "talos",