github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/image/overrides/os_image_override.txt (about)

     1  # Check that the OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE env var is honored when fetching the base ISO
     2  # (using an invalid value to avoid downloading the image)
     3  
     4  env OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE=<not-valid-image>
     5  ! exec openshift-install agent create image --dir $WORK
     6  
     7  ! exists $WORK/agent.x86_64.iso
     8  stderr 'level=warning msg=Found override for OS Image. Please be warned, this is not advised'
     9  stderr 'level=fatal msg=failed to fetch Agent Installer ISO: failed to fetch dependency of "Agent Installer ISO": failed to fetch dependency of "Agent Installer Artifacts": failed to generate asset "BaseIso Image": failed to get base ISO image: parse "<not-valid-image>": invalid URI for request'
    10  
    11  -- install-config.yaml --
    12  apiVersion: v1
    13  baseDomain: test.metalkube.org
    14  controlPlane: 
    15    name: master
    16    replicas: 1
    17  compute: 
    18  - name: worker
    19    replicas: 0
    20  metadata:
    21    namespace: cluster0
    22    name: ostest
    23  networking:
    24    clusterNetwork:
    25    - cidr: 10.128.0.0/14 
    26      hostPrefix: 23 
    27    networkType: OVNKubernetes
    28    machineNetwork:
    29    - cidr: 192.168.111.0/24
    30    serviceNetwork: 
    31    - 172.30.0.0/16
    32  platform:
    33    none: {}
    34  sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    35  pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}'
    36  
    37  -- agent-config.yaml --
    38  apiVersion: v1alpha1
    39  metadata:
    40    name: ostest
    41    namespace: cluster0
    42  rendezvousIP: 192.168.111.20
    43