summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-core/systemd/systemd
diff options
context:
space:
mode:
authorManuel Bachmann <mbc@iot.bzh>2016-01-28 02:35:16 +0000
committerManuel Bachmann <mbc@iot.bzh>2016-02-02 15:17:17 +0000
commitf59c808ae7f7e02dced00d56ef2cbb0acc8a4eb1 (patch)
treef9fc893aee2e1503a8b033e6307385e5282cad27 /meta-agl/recipes-core/systemd/systemd
parente14106703bd02e161bc5518c73be8a07659891cd (diff)
Provide automatic DHCP configuration for Ethernet adapters
systemd now provides the logic necessary to obtain IP connectivity with its networkd/resolved daemons. Let us enable this feature for wired adapters : that is, those prefixed with "eth*" (Renesas R-Car) or "en*" (QEMU). Change-Id: I8e71b8d1f22364ffa8ee0c33769a8dba9e21f71a Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Diffstat (limited to 'meta-agl/recipes-core/systemd/systemd')
-rw-r--r--meta-agl/recipes-core/systemd/systemd/wired.network5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl/recipes-core/systemd/systemd/wired.network b/meta-agl/recipes-core/systemd/systemd/wired.network
new file mode 100644
index 000000000..3559b0155
--- /dev/null
+++ b/meta-agl/recipes-core/systemd/systemd/wired.network
@@ -0,0 +1,5 @@
+[Match]
+Name=eth* en*
+
+[Network]
+DHCP=yes