include network config cfiles

This commit is contained in:
Nico Schottelius 2019-12-14 17:42:12 +01:00
parent d1ded3265c
commit b97d667753

View file

@ -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