forked from LibreSchool/server-config
Merge pull request #35 from syntaxerrormmm/issue-21
Fixing issue #21: no changes to the wan0 interface
This commit is contained in:
commit
81873ef6cb
@ -1,5 +1,4 @@
|
||||
---
|
||||
extnic: wan0
|
||||
intnic: lan0
|
||||
force_regen_ca: false
|
||||
force_ibay_shared: false
|
||||
|
@ -1,9 +1,6 @@
|
||||
---
|
||||
# Reconfiguring network interfaces
|
||||
|
||||
- name: Configuring external NIC
|
||||
shell: /sbin/e-smith/db networks setprop {{ extnic }} role red bootproto dhcp
|
||||
|
||||
- name: Configuring internal NIC
|
||||
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