From b9dfdaaa1ae0148dd8a3e78508c636636e7396a6 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 7 Feb 2024 16:15:21 +0100 Subject: web server done --- rootfs/etc/network/interfaces | 8 ++++---- rootfs/etc/network/interfaces.d/eth0 | 2 ++ rootfs/etc/network/interfaces.d/lo | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 rootfs/etc/network/interfaces.d/eth0 create mode 100644 rootfs/etc/network/interfaces.d/lo (limited to 'rootfs/etc/network') 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 -- cgit v1.2.3