refactor: switch to ubuntu 26.04 lts
This commit is contained in:
+8
-6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user