refactor: switch to ubuntu 26.04 lts

This commit is contained in:
2026-06-23 21:58:14 +01:00
parent 0cc8ea528a
commit 781a62c881
10 changed files with 25 additions and 47 deletions
+8 -6
View File
@@ -9,6 +9,8 @@ locals {
master_count = 2
worker_count = 0
image = "ubuntu/26.04"
}
# ---------
@@ -16,16 +18,16 @@ locals {
# ---------
resource "incus_project" "this" {
name = "deskpi-cluster"
description = "The emulated DeskPi Super6C stack."
name = "home-infrastructure"
description = "An emulated home infrastructure stack."
}
resource "incus_image" "alpine" {
resource "incus_image" "this" {
project = incus_project.this.name
source_image = {
remote = "images"
name = "alpine/edge"
name = local.image
type = "virtual-machine"
}
}
@@ -76,7 +78,7 @@ resource "incus_instance" "master" {
project = incus_project.this.name
type = "virtual-machine"
image = incus_image.alpine.fingerprint
image = incus_image.this.fingerprint
profiles = [incus_profile.this.name]
wait_for {
@@ -127,7 +129,7 @@ resource "incus_instance" "worker" {
project = incus_project.this.name
type = "virtual-machine"
image = incus_image.alpine.fingerprint
image = incus_image.this.fingerprint
profiles = [incus_profile.this.name]
wait_for {