more files
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// Matcher group for OCP Internal machines
|
// Matcher group for OCP Internal machines
|
||||||
resource "matchbox_group" "{{ hostvars[groups['hub-cluster'][0]].cluster_name }}" {
|
resource "matchbox_group" "{{ hostvars[groups['hub_cluster'][0]].cluster_name }}" {
|
||||||
name = "{{ hostvars['ocp-hub'].hostname }}" # Physical Server
|
name = "{{ hostvars['ocp-hub'].hostname }}" # Physical Server
|
||||||
profile = matchbox_profile.openshift-agent-install.name
|
profile = matchbox_profile.openshift-agent-install.name
|
||||||
selector = {
|
selector = {
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
// Fedora CoreOS profile
|
// Fedora CoreOS profile
|
||||||
resource "matchbox_profile" "openshift-agent-install" {
|
resource "matchbox_profile" "openshift-agent-install" {
|
||||||
name = "{{ hostvars[groups['hub-cluster'][0]].cluster_name }}"
|
name = "{{ hostvars[groups['hub_cluster'][0]].cluster_name }}"
|
||||||
kernel = "/assets/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}/agent.x86_64-vmlinuz"
|
kernel = "/assets/{{ hostvars[groups['hub_cluster'][0]].cluster_name }}/agent.x86_64-vmlinuz"
|
||||||
initrd = [
|
initrd = [
|
||||||
"--name initrd /assets/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}/agent.x86_64-initrd.img"
|
"--name initrd /assets/{{ hostvars[groups['hub_cluster'][0]].cluster_name }}/agent.x86_64-initrd.img"
|
||||||
]
|
]
|
||||||
|
|
||||||
args = [
|
args = [
|
||||||
"initrd=initrd",
|
"initrd=initrd",
|
||||||
"coreos.live.rootfs_url={{ hostvars[groups['matchbox'][0]].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",
|
||||||
|
|||||||
Reference in New Issue
Block a user