From 7713cab37cbecc8a640a71b958112c705f7c6955 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 10 Jun 2020 12:26:50 -0700 Subject: [PATCH] openqa-x86-worker01: update network vars again We got the interfaces named by biosdevname now, which should be more stable. Signed-off-by: Adam Williamson --- .../openqa-x86-worker01.iad2.fedoraproject.org | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/inventory/host_vars/openqa-x86-worker01.iad2.fedoraproject.org b/inventory/host_vars/openqa-x86-worker01.iad2.fedoraproject.org index 9a86a8a8ba..d846a79afb 100644 --- a/inventory/host_vars/openqa-x86-worker01.iad2.fedoraproject.org +++ b/inventory/host_vars/openqa-x86-worker01.iad2.fedoraproject.org @@ -6,22 +6,22 @@ sudoers: "{{ private }}/files/sudo/qavirt-sudoers" nrpe_procs_warn: 1400 nrpe_procs_crit: 1600 -# the if connected to the infra network on this box is eth0 -ansible_ifcfg_infra_net_devices: [ 'eth0' ] -eth0_ip: 10.3.174.21 -eth0_nm: 255.255.255.0 +# the if connected to the infra network on this box is em1 +ansible_ifcfg_infra_net_devices: [ 'em1' ] +em1_ip: 10.3.174.21 +em1_nm: 255.255.255.0 gw: 10.3.174.254 # openQA tap worker hosts (like this one) do stuff with ifcfg that base # doesn't understand. terrible, terrible stuff. seriously - it doesn't # handle the openvswitch config well. so let's tell it to just configure -# the regular interfaces (which on this system is eth0-3) for us, -# disabling all but the one we want to use (eth0), and leave everything +# the regular interfaces (which on this system is em1-4) for us, +# disabling all but the one we want to use (em1), and leave everything # else alone. We use a variable definition here so the firewall config # (in the openqa_tap_workers group_vars) can reuse it. -openqa_tap_iface: eth0 -ansible_ifcfg_whitelist: ['{{ openqa_tap_iface }}', 'eth1', 'eth2', 'eth3'] -ansible_ifcfg_disabled: ['eth1', 'eth2', 'eth3'] +openqa_tap_iface: em1 +ansible_ifcfg_whitelist: ['{{ openqa_tap_iface }}', 'em2', 'em3', 'em4'] +ansible_ifcfg_disabled: ['em2', 'em3', 'em4'] # Has a hardware RNG openqa_rngd: True