fix final templates

This commit is contained in:
2025-03-23 23:37:22 -05:00
parent a656fdd179
commit f99cedbc50
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ resource "matchbox_profile" "openshift-agent-install" {
args = [ args = [
"initrd=initrd", "initrd=initrd",
"coreos.live.rootfs_url={{ hostvars['matchbox'].http_endpoint }}/assets/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}/agent.x86_64-rootfs.img", "coreos.live.rootfs_url={{ hostvars[groups['matchbox'][0]].http_endpoint }}/assets/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}/agent.x86_64-rootfs.img",
"rw", "rw",
"ignition.firstboot", "ignition.firstboot",
"ignition.platform.id=metal", "ignition.platform.id=metal",

View File

@@ -1,6 +1,6 @@
// Configure the matchbox provider // Configure the matchbox provider
provider "matchbox" { provider "matchbox" {
endpoint = "{{ hostvars['matchbox'].rpc_endpoint }}" endpoint = "{{ hostvars[groups['matchbox'][0]].rpc_endpoint }}"
client_cert = file("/etc/matchbox/client.crt") client_cert = file("/etc/matchbox/client.crt")
client_key = file("/etc/matchbox/client.key") client_key = file("/etc/matchbox/client.key")
ca = file("/etc/matchbox/ca.crt") ca = file("/etc/matchbox/ca.crt")