File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -524,6 +524,7 @@ rpmss
524524rsa
525525rsync
526526runtime
527+ RHCOS
527528scansettingbinding
528529scap
529530scp
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ networks.
5050* ` cifmw_devscripts_external_net ` (dict) Key/value pair containing information
5151 about the network infrastructure.
5252 Refer [ section] ( #supported-keys-in-cifmw_devscripts_external_net ) .
53+ * ` cifmw_devscripts_ext_iface ` (str) The network interface name used in the
54+ NMState static IP template for OCP nodes. Defaults to ` enp2s0 ` . Override for
55+ bare metal hosts whose RHCOS interface name differs (e.g. ` eno12399 ` ).
5356* ` cifmw_devscripts_cinder_volume_pvs ` (list) a list of physical disks to be
5457 used for creating cinder-volumes volume-group. By default, the list contains
5558 ` /dev/vda ` .
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ cifmw_devscripts_create_logical_volume: false
6868cifmw_devscripts_cinder_volume_pvs :
6969 - /dev/vda
7070
71+ cifmw_devscripts_ext_iface : " enp2s0"
72+
7173cifmw_devscripts_config_overrides : {}
7274cifmw_devscripts_installer_timeout : 7200 # 2 hours
7375cifmw_devscripts_etcd_slow_profile : true
Original file line number Diff line number Diff line change 11networkConfig:
22 interfaces:
3- - name: enp2s0
3+ - name: {{ cifmw_devscripts_ext_iface }}
44 type: ethernet
55 state: up
66{% if cifmw_devscripts_config .ip_stack != 'v6' %}
@@ -25,4 +25,4 @@ networkConfig:
2525 config:
2626 - destination: 0.0.0.0/0
2727 next-hop-address: "{{ net_gateway }}"
28- next-hop-interface: enp2s0
28+ next-hop-interface: {{ cifmw_devscripts_ext_iface }}
You can’t perform that action at this time.
0 commit comments