forked from LibreSchool/server-config
Fixing issue #21: no changes to the wan0 interface has to be done within setup phase.
This commit is contained in:
parent
c769d5c4a4
commit
604460a6bd
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
extnic: wan0
|
|
||||||
intnic: lan0
|
intnic: lan0
|
||||||
force_regen_ca: false
|
force_regen_ca: false
|
||||||
force_ibay_shared: false
|
force_ibay_shared: false
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
# Reconfiguring network interfaces
|
# Reconfiguring network interfaces
|
||||||
|
|
||||||
- name: Configuring external NIC
|
|
||||||
shell: /sbin/e-smith/db networks setprop {{ extnic }} role red bootproto dhcp
|
|
||||||
|
|
||||||
- name: Configuring internal NIC
|
- name: Configuring internal NIC
|
||||||
shell: /sbin/e-smith/db networks setprop {{ intnic }} role green ipaddr {{ ansible_local.domain.serverip }} netmask {{ ansible_local.domain.servernetmask }}
|
shell: /sbin/e-smith/db networks setprop {{ intnic }} role green ipaddr {{ ansible_local.domain.serverip }} netmask {{ ansible_local.domain.servernetmask }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user