github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/imagebased/configtemplate/config-template.txt (about) 1 # Verify the generated default template for image-based-config.yaml 2 3 exec openshift-install image-based create config-template --dir $WORK 4 5 stderr 'level=info msg=Config-Template created in:' 6 7 exists $WORK/image-based-config.yaml 8 9 cmp $WORK/image-based-config.yaml $WORK/expected/image-based-config.yaml 10 11 -- expected/image-based-config.yaml -- 12 # 13 # Note: This is a sample ImageBasedConfig file showing 14 # which fields are available to aid you in creating your 15 # own image-based-config.yaml file. 16 # 17 apiVersion: v1beta1 18 kind: ImageBasedConfig 19 metadata: 20 name: example-image-based-config 21 additionalNTPSources: 22 - 0.rhel.pool.ntp.org 23 - 1.rhel.pool.ntp.org 24 hostname: change-to-hostname 25 releaseRegistry: quay.io 26 # networkConfig 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