update openshift agent installer for hub cluster

This commit is contained in:
2025-03-21 22:52:17 -05:00
parent 1644d5b45e
commit 81002d39bd
10 changed files with 60 additions and 164 deletions

View File

@@ -0,0 +1,16 @@
// Fedora CoreOS profile
resource "matchbox_profile" "openshift-agent-install" {
name = "hub"
kernel = "/assets/hub/agent.x86_64-vmlinuz"
initrd = [
"--name initrd /assets/hub/agent.x86_64-initrd.img"
]
args = [
"initrd=initrd",
"coreos.live.rootfs_url=${var.matchbox_http_endpoint}/assets/hub/agent.x86_64-rootfs.img",
"rw",
"ignition.firstboot",
"ignition.platform.id=metal",
]
}