base: use linux system roles network role for hosts that define network_connections
This is VASTLY better than the hack we have in base now to try and setup ifcfg files. It uses a standard role that has lots of options and does the right thing with NetworkManager. Ideally we would switch everything to this, but lets try it here first to see. It should work with bridges, etc as well. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c920b83596
commit
f551e07637
3 changed files with 28 additions and 3 deletions
|
@ -3,3 +3,26 @@ gw: 10.3.170.254
|
|||
eth1_ip: 10.3.170.121
|
||||
eth1_ipv4_gw: 10.3.170.254
|
||||
datacenter: iad2
|
||||
|
||||
network_connections:
|
||||
- name: eth0
|
||||
state: down
|
||||
type: ethernet
|
||||
- name: eth1
|
||||
state: up
|
||||
type: ethernet
|
||||
autoconnect: yes
|
||||
ip:
|
||||
address: 10.3.170.121/24
|
||||
gateway4: 10.3.170.254
|
||||
dns:
|
||||
- 10.3.163.33
|
||||
- 10.3.163.34
|
||||
dns_search:
|
||||
- iad2.fedoraproject.org
|
||||
- fedoraproject.org
|
||||
dhcp4: no
|
||||
auto6: no
|
||||
- name: eth2
|
||||
state: down
|
||||
type: ethernet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue