1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

defeat the iface renaming in debian 9 (#156)

This commit is contained in:
georgejhunt 2017-08-21 18:50:59 -07:00 committed by GitHub
parent 5037c497b1
commit 5fdbe61aab
2 changed files with 5 additions and 1 deletions

View file

@ -32,6 +32,9 @@
with_items:
- ntp
- name: disable the renaming of eth0
shell: sed -i -e 's/deadline fsck/deadline net.ifnames=0 fsck/' /boot/cmdline.txt
- name: increase the swap file size (kalite pip download fails)
lineinfile: regexp="^CONF_SWAPSIZE"
line=CONF_SWAPSIZE=500

View file

@ -40,7 +40,8 @@ iface br0 inet static
netmask {{ lan_netmask }}
dns-nameservers {{ lan_ip }}
{% if gui_static_wan == false %}
iface {{ discovered_wan_iface }} inet manual
auto {{ discovered_wan_iface }}
iface {{ discovered_wan_iface }} inet dhcp
{% else %} # gui_static_wan_ip is set
iface {{ discovered_wan_iface }} inet static
address {{ gui_static_wan_ip }}