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