Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/dictionary/en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ rpmss
rsa
rsync
runtime
RHCOS
scansettingbinding
scap
scp
Expand Down
3 changes: 3 additions & 0 deletions roles/devscripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ networks.
* `cifmw_devscripts_external_net` (dict) Key/value pair containing information
about the network infrastructure.
Refer [section](#supported-keys-in-cifmw_devscripts_external_net).
* `cifmw_devscripts_ext_iface` (str) The network interface name used in the
NMState static IP template for OCP nodes. Defaults to `enp2s0`. Override for
bare metal hosts whose RHCOS interface name differs (e.g. `eno12399`).
* `cifmw_devscripts_cinder_volume_pvs` (list) a list of physical disks to be
used for creating cinder-volumes volume-group. By default, the list contains
`/dev/vda`.
Expand Down
2 changes: 2 additions & 0 deletions roles/devscripts/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ cifmw_devscripts_create_logical_volume: false
cifmw_devscripts_cinder_volume_pvs:
- /dev/vda

cifmw_devscripts_ext_iface: "enp2s0"

cifmw_devscripts_config_overrides: {}
cifmw_devscripts_installer_timeout: 7200 # 2 hours
cifmw_devscripts_etcd_slow_profile: true
Expand Down
4 changes: 2 additions & 2 deletions roles/devscripts/templates/nmstate.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
networkConfig:
interfaces:
- name: enp2s0
- name: {{ cifmw_devscripts_ext_iface }}
type: ethernet
state: up
{% if cifmw_devscripts_config.ip_stack != 'v6' %}
Expand All @@ -25,4 +25,4 @@ networkConfig:
config:
- destination: 0.0.0.0/0
next-hop-address: "{{ net_gateway }}"
next-hop-interface: enp2s0
next-hop-interface: {{ cifmw_devscripts_ext_iface }}
Loading