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