From b97d667753a2a0f5a427bf53e933d281039b8692 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 14 Dec 2019 17:42:12 +0100 Subject: [PATCH] include network config cfiles --- debian-devuan-netboot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian-devuan-netboot.sh b/debian-devuan-netboot.sh index a9e0228..d64de5e 100755 --- a/debian-devuan-netboot.sh +++ b/debian-devuan-netboot.sh @@ -49,6 +49,7 @@ cat > ${dir}/etc/network/interfaces << EOF auto lo iface lo inet loopback +source-directory /etc/network/interfaces.d EOF # find the boot interfaces at boot @@ -66,6 +67,8 @@ ifup "\${dev}" exit 0 EOF +chmod a+rx ${dir}/etc/rc.local" + # ensure there is /init in the initramfs -> otherwise there is a kernel panic # reason: initramfs is designed to be PRE regular os, so /init usually hands over to /sbin/init # in our case, they are just the same