Change openqa-x86-worker04 networking to use biosdevname names

Old-style names aren't consistent. biosdevname wasn't working
because it wasn't installed, I've installed it now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-10-12 14:55:32 -07:00
parent 3d19bb4fd5
commit 8f52584797

View file

@ -1,9 +1,9 @@
---
freezes: false
# eth0 is default network
# eth1 is disabled/nothing
# eth2 is disabled/nothing
# eth3 is disabled/nothing
# em1 is default network
# em2 is disabled/nothing
# em3 is disabled/nothing
# em4 is disabled/nothing
# NOTE network configuration beyond the scope of linux-system-roles on
# this host is performed by the openqa/worker role
@ -22,27 +22,27 @@ dns_search2: "fedoraproject.org"
has_ipv4: yes
eth0_ipv4: 10.3.174.24
eth0_ipv4_nm: 24
eth0_ipv4_gw: 10.3.174.254
eth0_mac: "{{ mac1 }}"
em1_ipv4: 10.3.174.24
em1_ipv4_nm: 24
em1_ipv4_gw: 10.3.174.254
em1_mac: "{{ mac1 }}"
eth1_mac: "{{ mac2 }}"
em2_mac: "{{ mac2 }}"
eth2_mac: "{{ mac3 }}"
em3_mac: "{{ mac3 }}"
eth3_mac: "{{ mac4 }}"
em4_mac: "{{ mac4 }}"
network_connections:
- name: eth0
mac: "{{ eth0_mac }}"
- name: em1
mac: "{{ em1_mac }}"
state: up
type: ethernet
autoconnect: yes
ip:
address:
- "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}"
gateway4: "{{ eth0_ipv4_gw }}"
- "{{ em1_ipv4 }}/{{ em1_ipv4_nm }}"
gateway4: "{{ em1_ipv4_gw }}"
dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
@ -51,18 +51,18 @@ network_connections:
- "{{ dns_search2 }}"
dhcp4: no
auto6: no
- name: eth1
mac: "{{ eth1_mac }}"
- name: em2
mac: "{{ em2_mac }}"
state: down
type: ethernet
autoconnect: no
- name: eth2
mac: "{{ eth2_mac }}"
- name: em3
mac: "{{ em3_mac }}"
state: down
type: ethernet
autoconnect: no
- name: eth3
mac: "{{ eth3_mac }}"
- name: em4
mac: "{{ em4_mac }}"
state: down
type: ethernet
autoconnect: no
@ -72,7 +72,7 @@ nrpe_procs_crit: 1600
sudoers: "{{ private }}/files/sudo/qavirt-sudoers"
openqa_tap_iface: eth0
openqa_tap_iface: em1
# Has a hardware RNG
openqa_rngd: true