aboutsummaryrefslogtreecommitdiffstats
path: root/roles/debian/templates
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-12-06 20:10:37 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2018-12-06 20:10:37 +0100
commit4f30f1583de913c011a6c6a40e53f2e4855eb489 (patch)
tree5ec3c245a50327f22de823a99b640ab918d67c17 /roles/debian/templates
parentc624e52a8357da8db022831b86f2c85bb7bfed2f (diff)
downloadlabitat-ansible-4f30f1583de913c011a6c6a40e53f2e4855eb489.tar.gz
labitat-ansible-4f30f1583de913c011a6c6a40e53f2e4855eb489.tar.xz
labitat-ansible-4f30f1583de913c011a6c6a40e53f2e4855eb489.zip
debian: networkd: add networkd-wait-online support
Diffstat (limited to 'roles/debian/templates')
-rw-r--r--roles/debian/templates/networkd-ignore.conf.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/debian/templates/networkd-ignore.conf.j2 b/roles/debian/templates/networkd-ignore.conf.j2
new file mode 100644
index 0000000..855cd7b
--- /dev/null
+++ b/roles/debian/templates/networkd-ignore.conf.j2
@@ -0,0 +1,6 @@
+[Service]
+ExecStart=
+ExecStart=/lib/systemd/systemd-networkd-wait-online
+{%- for iface in networkd_ignore %}
+ --ignore {{ iface }}
+{%- endfor %}