create templates for terraform files

This commit is contained in:
2025-03-23 00:55:30 -05:00
parent 6c0d599c0e
commit 79d23cf5d9
19 changed files with 272 additions and 16 deletions

View File

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