-
Notifications
You must be signed in to change notification settings - Fork 1.5k
AGENT-1461: Do not discard NMStateConfig when agent-config is on disk for unconfigured-ignition #10393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
openshift-merge-bot
merged 1 commit into
openshift:main
from
pawanpinjarkar:do-not-discard-nmstateconfig-with-agentconfig-4-unconfigured-ignition
Mar 24, 2026
Merged
AGENT-1461: Do not discard NMStateConfig when agent-config is on disk for unconfigured-ignition #10393
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
...stdata/agent/unconfigured-ignition/configurations/ove/with-agent-config-nmstateconfig.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,106 @@ | ||
| # The unconfigured ignition for OVE can be generated using | ||
| # agent-config.yaml with only rendezvousIP, infraenv.yaml, | ||
| # pull-secret.yaml and nmstateconfig.yaml. | ||
|
|
||
| exec openshift-install agent create unconfigured-ignition --dir $WORK | ||
|
|
||
| exists $WORK/unconfigured-agent.ign | ||
| ! exists $WORK/auth/kubeconfig | ||
| ! exists $WORK/auth/kubeadmin-password | ||
|
|
||
| unconfiguredIgnContains /etc/assisted/manifests/pull-secret.yaml | ||
| unconfiguredIgnContains /etc/assisted/rendezvous-host.env | ||
| unconfiguredIgnContains /etc/assisted/network/host0/eth0.nmconnection | ||
| unconfiguredIgnContains /etc/assisted/network/host0/mac_interface.ini | ||
| ! unconfiguredIgnContains /etc/assisted/manifests/agent-cluster-install.yaml | ||
| ! unconfiguredIgnContains /etc/assisted/manifests/cluster-deployment.yaml | ||
|
|
||
| unconfiguredIgnCmp /etc/assisted/manifests/infraenv.yaml expected/infraenv.yaml | ||
|
|
||
| -- agent-config.yaml -- | ||
| apiVersion: v1alpha1 | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| rendezvousIP: 192.168.111.20 | ||
|
|
||
| -- cluster-manifests/infraenv.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: InfraEnv | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| spec: | ||
| cpuArchitecture: x86_64 | ||
| pullSecretRef: | ||
| name: ostest-pull-secret | ||
| sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= | ||
| nmStateConfigLabelSelector: | ||
| matchLabels: | ||
| cluster0-nmstate-label-name: cluster0-nmstate-label-value | ||
|
|
||
| -- cluster-manifests/pull-secret.yaml -- | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: ostest-pull-secret | ||
| namespace: cluster0 | ||
| stringData: | ||
| .dockerconfigjson: |- | ||
| { | ||
| "auths": { | ||
| "quay.io": { | ||
| "auth": "c3VwZXItc2VjcmV0Cg==" | ||
| } | ||
| } | ||
| } | ||
|
|
||
| -- cluster-manifests/nmstateconfig.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: NMStateConfig | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| labels: | ||
| agent-install.openshift.io/infraenv-id: test-infra-env-id | ||
| spec: | ||
| config: | ||
| interfaces: | ||
| - name: eth0 | ||
| type: ethernet | ||
| state: up | ||
| ipv4: | ||
| enabled: true | ||
| address: | ||
| - ip: 192.168.1.10 | ||
| prefix-length: 24 | ||
| dhcp: false | ||
| interfaces: | ||
| - name: eth0 | ||
| macAddress: 52:54:00:aa:bb:cc | ||
|
|
||
| -- expected/infraenv.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: InfraEnv | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| spec: | ||
| cpuArchitecture: x86_64 | ||
| ipxeScriptType: "" | ||
| nmStateConfigLabelSelector: | ||
| matchLabels: | ||
| cluster0-nmstate-label-name: cluster0-nmstate-label-value | ||
| pullSecretRef: | ||
| name: ostest-pull-secret | ||
| sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= | ||
| status: | ||
| agentLabelSelector: {} | ||
| bootArtifacts: | ||
| discoveryIgnitionURL: "" | ||
| initrd: "" | ||
| ipxeScript: "" | ||
| kernel: "" | ||
| rootfs: "" | ||
| debugInfo: | ||
| eventsURL: "" | ||
97 changes: 97 additions & 0 deletions
97
...ft-install/testdata/agent/unconfigured-ignition/configurations/ove/with-nmstateconfig.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| # The unconfigured ignition for OVE can be generated using | ||
| # infraenv.yaml, pull-secret.yaml and nmstateconfig.yaml. | ||
|
|
||
| exec openshift-install agent create unconfigured-ignition --dir $WORK | ||
|
|
||
| exists $WORK/unconfigured-agent.ign | ||
| ! exists $WORK/auth/kubeconfig | ||
| ! exists $WORK/auth/kubeadmin-password | ||
|
|
||
| unconfiguredIgnContains /etc/assisted/manifests/pull-secret.yaml | ||
| unconfiguredIgnContains /etc/assisted/network/host0/eth0.nmconnection | ||
| unconfiguredIgnContains /etc/assisted/network/host0/mac_interface.ini | ||
| ! unconfiguredIgnContains /etc/assisted/manifests/agent-cluster-install.yaml | ||
| ! unconfiguredIgnContains /etc/assisted/manifests/cluster-deployment.yaml | ||
|
|
||
| unconfiguredIgnCmp /etc/assisted/manifests/infraenv.yaml expected/infraenv.yaml | ||
|
|
||
| -- cluster-manifests/infraenv.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: InfraEnv | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| spec: | ||
| cpuArchitecture: x86_64 | ||
| pullSecretRef: | ||
| name: ostest-pull-secret | ||
| sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= | ||
| nmStateConfigLabelSelector: | ||
| matchLabels: | ||
| cluster0-nmstate-label-name: cluster0-nmstate-label-value | ||
|
|
||
| -- cluster-manifests/pull-secret.yaml -- | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: ostest-pull-secret | ||
| namespace: cluster0 | ||
| stringData: | ||
| .dockerconfigjson: |- | ||
| { | ||
| "auths": { | ||
| "quay.io": { | ||
| "auth": "c3VwZXItc2VjcmV0Cg==" | ||
| } | ||
| } | ||
| } | ||
|
|
||
| -- cluster-manifests/nmstateconfig.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: NMStateConfig | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| labels: | ||
| agent-install.openshift.io/infraenv-id: test-infra-env-id | ||
| spec: | ||
| config: | ||
| interfaces: | ||
| - name: eth0 | ||
| type: ethernet | ||
| state: up | ||
| ipv4: | ||
| enabled: true | ||
| address: | ||
| - ip: 192.168.1.10 | ||
| prefix-length: 24 | ||
| dhcp: false | ||
| interfaces: | ||
| - name: eth0 | ||
| macAddress: 52:54:00:aa:bb:cc | ||
|
|
||
| -- expected/infraenv.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: InfraEnv | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| spec: | ||
| cpuArchitecture: x86_64 | ||
| ipxeScriptType: "" | ||
| nmStateConfigLabelSelector: | ||
| matchLabels: | ||
| cluster0-nmstate-label-name: cluster0-nmstate-label-value | ||
| pullSecretRef: | ||
| name: ostest-pull-secret | ||
| sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= | ||
| status: | ||
| agentLabelSelector: {} | ||
| bootArtifacts: | ||
| discoveryIgnitionURL: "" | ||
| initrd: "" | ||
| ipxeScript: "" | ||
| kernel: "" | ||
| rootfs: "" | ||
| debugInfo: | ||
| eventsURL: "" |
71 changes: 71 additions & 0 deletions
71
...estdata/agent/unconfigured-ignition/configurations/ove/with-only-infraenv-pull-secret.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # The unconfigured ignition for OVE can be generated using | ||
| # only infraenv.yaml and pull-secret.yaml. | ||
|
|
||
| exec openshift-install agent create unconfigured-ignition --dir $WORK | ||
|
|
||
| exists $WORK/unconfigured-agent.ign | ||
| ! exists $WORK/auth/kubeconfig | ||
| ! exists $WORK/auth/kubeadmin-password | ||
|
|
||
| unconfiguredIgnContains /etc/assisted/manifests/pull-secret.yaml | ||
| ! unconfiguredIgnContains /etc/assisted/manifests/agent-cluster-install.yaml | ||
| ! unconfiguredIgnContains /etc/assisted/manifests/cluster-deployment.yaml | ||
|
|
||
| unconfiguredIgnCmp /etc/assisted/manifests/infraenv.yaml expected/infraenv.yaml | ||
|
|
||
| -- cluster-manifests/infraenv.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: InfraEnv | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| spec: | ||
| cpuArchitecture: x86_64 | ||
| pullSecretRef: | ||
| name: ostest-pull-secret | ||
| sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= | ||
| nmStateConfigLabelSelector: | ||
| matchLabels: | ||
| cluster0-nmstate-label-name: cluster0-nmstate-label-value | ||
|
|
||
| -- cluster-manifests/pull-secret.yaml -- | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: ostest-pull-secret | ||
| namespace: cluster0 | ||
| stringData: | ||
| .dockerconfigjson: |- | ||
| { | ||
| "auths": { | ||
| "quay.io": { | ||
| "auth": "c3VwZXItc2VjcmV0Cg==" | ||
| } | ||
| } | ||
| } | ||
|
|
||
| -- expected/infraenv.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: InfraEnv | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| spec: | ||
| cpuArchitecture: x86_64 | ||
| ipxeScriptType: "" | ||
| nmStateConfigLabelSelector: | ||
| matchLabels: | ||
| cluster0-nmstate-label-name: cluster0-nmstate-label-value | ||
| pullSecretRef: | ||
| name: ostest-pull-secret | ||
| sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= | ||
| status: | ||
| agentLabelSelector: {} | ||
| bootArtifacts: | ||
| discoveryIgnitionURL: "" | ||
| initrd: "" | ||
| ipxeScript: "" | ||
| kernel: "" | ||
| rootfs: "" | ||
| debugInfo: | ||
| eventsURL: "" |
82 changes: 82 additions & 0 deletions
82
...data/agent/unconfigured-ignition/validations/ove/agent-config-with-boot-artifacts-url.txt
|
pawanpinjarkar marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| # Agent-config.yaml with bootArtifactsBaseURL field should be rejected | ||
| # for unconfigured-ignition workflow. | ||
|
|
||
| expandFile cluster-manifests/cluster-image-set.yaml | ||
|
|
||
| ! exec openshift-install agent create unconfigured-ignition --dir $WORK | ||
|
|
||
| stderr 'agent-config.yaml for unconfigured-ignition workflow must not contain bootArtifactsBaseURL. Only rendezvousIP is allowed' | ||
|
|
||
| ! exists $WORK/unconfigured-agent.ign | ||
| ! exists $WORK/auth/kubeconfig | ||
| ! exists $WORK/auth/kubeadmin-password | ||
|
|
||
| -- agent-config.yaml -- | ||
| apiVersion: v1alpha1 | ||
| kind: AgentConfig | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| rendezvousIP: 192.168.111.20 | ||
| bootArtifactsBaseURL: http://user-specified-infra.com | ||
|
|
||
| -- cluster-manifests/infraenv.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: InfraEnv | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| spec: | ||
| cpuArchitecture: x86_64 | ||
| pullSecretRef: | ||
| name: ostest-pull-secret | ||
| sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= | ||
|
|
||
| -- cluster-manifests/pull-secret.yaml -- | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: ostest-pull-secret | ||
| namespace: cluster0 | ||
| stringData: | ||
| .dockerconfigjson: |- | ||
| { | ||
| "auths": { | ||
| "quay.io": { | ||
| "auth": "c3VwZXItc2VjcmV0Cg==" | ||
| } | ||
|
pawanpinjarkar marked this conversation as resolved.
|
||
| } | ||
| } | ||
|
|
||
| -- cluster-manifests/cluster-image-set.yaml -- | ||
| apiVersion: hive.openshift.io/v1 | ||
| kind: ClusterImageSet | ||
| metadata: | ||
| name: cluster0-image-set | ||
| namespace: cluster0 | ||
| spec: | ||
| releaseImage: $RELEASE_IMAGE | ||
|
|
||
| -- cluster-manifests/nmstateconfig.yaml -- | ||
| apiVersion: agent-install.openshift.io/v1beta1 | ||
| kind: NMStateConfig | ||
| metadata: | ||
| name: ostest | ||
| namespace: cluster0 | ||
| labels: | ||
| agent-install.openshift.io/infraenv-id: test-infra-env-id | ||
| spec: | ||
| config: | ||
| interfaces: | ||
| - name: eth0 | ||
| type: ethernet | ||
| state: up | ||
| ipv4: | ||
| enabled: true | ||
| address: | ||
| - ip: 192.168.1.10 | ||
| prefix-length: 24 | ||
| dhcp: false | ||
| interfaces: | ||
| - name: eth0 | ||
| macAddress: 52:54:00:aa:bb:cc | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.