From: Michael Prokop Date: Wed, 27 May 2020 11:48:50 +0000 (+0200) Subject: 9990-grml-networking.sh: support /etc/network/interfaces.d/* in /e/n/i X-Git-Tag: debian/1%20200527+grml.1~3 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=bcf2959a742884070a251e258eebc3f027d8b704 9990-grml-networking.sh: support /etc/network/interfaces.d/* in /e/n/i For example cloud-init writes its network configuration file to /etc/network/interfaces.d/50-cloud-init, so the file needs to be sourced. Related to https://github.com/grml/grml/issues/124 --- diff --git a/components/9990-grml-networking.sh b/components/9990-grml-networking.sh index 16e7b7f..939c0ea 100644 --- a/components/9990-grml-networking.sh +++ b/components/9990-grml-networking.sh @@ -133,6 +133,10 @@ EOF unset IPV4DNS IPV4DNSLIST echo>> $IFFILE + echo '# Support overriding defaults:' >> $IFFILE + echo 'source /etc/network/interfaces.d/*' >> $IFFILE + + echo>> $IFFILE done # dns bootoption