summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-core/systemd/systemd-conf/wired.network11
-rw-r--r--recipes-core/systemd/systemd-conf_%.bbappend1
2 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/systemd/systemd-conf/wired.network b/recipes-core/systemd/systemd-conf/wired.network
new file mode 100644
index 0000000..ea73cc4
--- /dev/null
+++ b/recipes-core/systemd/systemd-conf/wired.network
@@ -0,0 +1,11 @@
+[Match]
+Name=disabled_en* disabled_eth*
+KernelCommandLine=!nfsroot
+
+[Network]
+DHCP=yes
+
+[DHCP]
+CriticalConnection=true
+RouteMetric=10
+ClientIdentifier=mac
diff --git a/recipes-core/systemd/systemd-conf_%.bbappend b/recipes-core/systemd/systemd-conf_%.bbappend
new file mode 100644
index 0000000..77ab59d
--- /dev/null
+++ b/recipes-core/systemd/systemd-conf_%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/systemd-conf:"