github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/imagebased/imageconfigtemplate/image-config-template.txt (about)

     1  # Verify the generated default template for image-based-installation-config.yaml
     2  
     3  exec openshift-install image-based create image-config-template --dir $WORK
     4  
     5  stderr 'level=info msg=Image-Config-Template created in:'
     6  
     7  exists $WORK/image-based-installation-config.yaml
     8  
     9  cmp $WORK/image-based-installation-config.yaml $WORK/expected/image-based-installation-config.yaml
    10  
    11  -- expected/image-based-installation-config.yaml --
    12  #
    13  # Note: This is a sample ImageBasedInstallationConfig file showing
    14  # which fields are available to aid you in creating your
    15  # own image-based-installation-config.yaml file.
    16  #
    17  apiVersion: v1beta1
    18  kind: ImageBasedInstallationConfig
    19  metadata:
    20    name: example-image-based-installation-config
    21  # The following fields are required
    22  seedImage: quay.io/openshift-kni/seed-image:4.16.0
    23  seedVersion: 4.16.0
    24  installationDisk: /dev/vda
    25  pullSecret: '<your-pull-secret>'
    26  # networkConfig is optional and contains the network configuration for the host in NMState format.
    27  # See https://nmstate.io/examples.html for examples.
    28  # networkConfig:
    29  #   interfaces:
    30  #     - name: eth0
    31  #       type: ethernet
    32  #       state: up
    33  #       mac-address: 00:00:00:00:00:00
    34  #       ipv4:
    35  #         enabled: true
    36  #         address:
    37  #           - ip: 192.168.122.2
    38  #             prefix-length: 23
    39  #         dhcp: false