Skip to content

Commit 92fd737

Browse files
danpawlikfrenzyfriday
authored andcommitted
Change hardcoded eth0 value in multinode-customizations play
The hardcoded value for controller default network interface is making problems on local deployment of kuttl job. With that patch, few steps would be less to execute. Signed-off-by: Daniel Pawlik <[email protected]>
1 parent 6aa39bf commit 92fd737

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/playbooks/multinode-customizations.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@
283283
- name: Get the default iface connection
284284
register: controller_default_connection_out
285285
ansible.builtin.command:
286-
cmd: "nmcli -g general.connection device show eth0"
286+
cmd: >-
287+
nmcli -g general.connection
288+
device show {{ cifmw_controller_interface_name | default('eth0') }}
287289
288290
- name: Prepend CRC DNS server in the controllers default Network Manager connection configuation
289291
vars:

0 commit comments

Comments
 (0)