1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

systemd-networkd fix-ups

This commit is contained in:
Jerry Vonau 2018-05-02 18:39:53 -05:00
parent 0a84a5e9a7
commit 039b584fb2
2 changed files with 4 additions and 6 deletions

View file

@ -3,17 +3,19 @@
template:
dest: /etc/systemd/network/IIAB-Bridge.netdev
src: network/systemd-br0.j2
when: iiab_lan_iface == "br0"
- name: Copy the bridge script - Assigns IP address
template:
dest: /etc/systemd/network/IIAB-Bridge.network
src: network/systemd-br0-network.j2
when: iiab_lan_iface == "br0"
- name: Copy the bridge script - Assigns br0 wired slaves
template:
dest: /etc/systemd/network/IIAB-Slave.network
src: network/systemd-br0-slave.j2
when: iiab_wired_lan_iface is defined
when: iiab_wired_lan_iface is defined and iiab_lan_iface == "br0"
- name: Stopping services
include_tasks: down-debian.yml

View file

@ -3,13 +3,9 @@
Name=br0
[Network]
Bridge=br0
Address={{ lan_ip }}/19
LinkLocalAddressing=no
DNS={{ lan_ip }}
Domains={{ iiab_domain }}
[Address]
Address={{ lan_ip }}/19
[Route]
Gateway=""