Skip to content

Commit bca9df4

Browse files
author
Robin Lenz
committed
Upgrade server image to Ubuntu 24.04 LTS
Ubuntu 22.04 (jammy) repositories are no longer available on Hetzner mirrors, causing apt cache updates to fail on worker nodes. Also rename netcat package to netcat-openbsd for Ubuntu 24.04 compatibility.
1 parent df61edf commit bca9df4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

hetzner-setup/ProcessCube.Cloud/ansible/roles/k3s_master/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- wget
77
- git
88
- ufw
9-
- netcat
9+
- netcat-openbsd
1010
- jq
1111
state: present
1212
update_cache: yes

hetzner-setup/ProcessCube.Cloud/ansible/roles/k3s_worker/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- curl
66
- wget
77
- ufw
8-
- netcat
8+
- netcat-openbsd
99
state: present
1010
update_cache: yes
1111

hetzner-setup/ProcessCube.Cloud/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ variable "server_type" {
2828
variable "server_image" {
2929
description = "Server image to use"
3030
type = string
31-
default = "ubuntu-22.04"
31+
default = "ubuntu-24.04"
3232
}
3333

3434
variable "worker_count" {

0 commit comments

Comments
 (0)