diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-07 16:15:21 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-07 16:15:21 +0100 |
commit | b9dfdaaa1ae0148dd8a3e78508c636636e7396a6 (patch) | |
tree | 49dcef99dbd866108d637cc675853ee49ed8f4d1 /rootfs/etc/network | |
parent | 612a0afa63144aae338a51c9206a589d4b8fdd65 (diff) |
web server done
Diffstat (limited to 'rootfs/etc/network')
-rw-r--r-- | rootfs/etc/network/interfaces | 8 | ||||
-rw-r--r-- | rootfs/etc/network/interfaces.d/eth0 | 2 | ||||
-rw-r--r-- | rootfs/etc/network/interfaces.d/lo | 2 |
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 |