aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc/network
diff options
context:
space:
mode:
Diffstat (limited to 'rootfs/etc/network')
-rw-r--r--rootfs/etc/network/interfaces8
-rw-r--r--rootfs/etc/network/interfaces.d/eth02
-rw-r--r--rootfs/etc/network/interfaces.d/lo2
3 files changed, 8 insertions, 4 deletions
diff --git a/rootfs/etc/network/interfaces b/rootfs/etc/network/interfaces
index 5307bb0..644f5f0 100644
--- a/rootfs/etc/network/interfaces
+++ b/rootfs/etc/network/interfaces
@@ -1,6 +1,6 @@
# interfaces(5) configuration
-auto eth0
-iface eth0 inet dhcp
+source /etc/network/interfaces.d/lo
+source /etc/network/interfaces.d/eth0
-auto lo
-iface lo inet loopback
+# NOTE: this should work but doesn't:
+# source /etc/network/interfaces.d/*
diff --git a/rootfs/etc/network/interfaces.d/eth0 b/rootfs/etc/network/interfaces.d/eth0
new file mode 100644
index 0000000..81922ce
--- /dev/null
+++ b/rootfs/etc/network/interfaces.d/eth0
@@ -0,0 +1,2 @@
+auto eth0
+iface eth0 inet dhcp
diff --git a/rootfs/etc/network/interfaces.d/lo b/rootfs/etc/network/interfaces.d/lo
new file mode 100644
index 0000000..f1bd92e
--- /dev/null
+++ b/rootfs/etc/network/interfaces.d/lo
@@ -0,0 +1,2 @@
+auto lo
+iface lo inet loopback