github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/pxe/configurations/compact_external.txt (about) 1 # Verify a default configuration for the compact topology for external platform. 2 # Verify kernel args 'console=ttyS0' is added for extenal oci platform. 3 4 exec openshift-install agent create pxe-files --dir $WORK 5 6 stderr 'Created iPXE script agent.x86_64.ipxe' 7 8 exists $WORK/boot-artifacts/agent.x86_64-initrd.img 9 exists $WORK/boot-artifacts/agent.x86_64-rootfs.img 10 exists $WORK/boot-artifacts/agent.x86_64-vmlinuz 11 exists $WORK/boot-artifacts/agent.x86_64.ipxe 12 exists $WORK/auth/kubeconfig 13 exists $WORK/auth/kubeadmin-password 14 15 grep 'initrd --name initrd http://user-specified-pxe-infra.com/agent.x86_64-initrd.img' $WORK/boot-artifacts/agent.x86_64.ipxe 16 grep 'kernel http://user-specified-pxe-infra.com/agent.x86_64-vmlinuz initrd=initrd coreos.live.rootfs_url=http://user-specified-pxe-infra.com/agent.x86_64-rootfs.img .*ignition.firstboot ignition.platform.id=metal console=ttyS0' $WORK/boot-artifacts/agent.x86_64.ipxe 17 ! grep 'coreos.liveiso=' $WORK/boot-artifacts/agent.x86_64.ipxe 18 19 20 -- install-config.yaml -- 21 apiVersion: v1 22 baseDomain: test.metalkube.org 23 controlPlane: 24 name: master 25 replicas: 3 26 compute: 27 - name: worker 28 replicas: 0 29 metadata: 30 namespace: cluster0 31 name: ostest 32 networking: 33 clusterNetwork: 34 - cidr: 10.128.0.0/14 35 hostPrefix: 23 36 networkType: OVNKubernetes 37 machineNetwork: 38 - cidr: 192.168.111.0/24 39 serviceNetwork: 40 - 172.30.0.0/16 41 platform: 42 external: 43 platformName: oci 44 cloudControllerManager: External 45 sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= 46 pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}' 47 48 -- agent-config.yaml -- 49 apiVersion: v1alpha1 50 metadata: 51 name: ostest 52 namespace: cluster0 53 rendezvousIP: 192.168.111.20 54 bootArtifactsBaseURL: http://user-specified-pxe-infra.com