From bcf2959a742884070a251e258eebc3f027d8b704 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 27 May 2020 13:48:50 +0200 Subject: [PATCH] 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 --- components/9990-grml-networking.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.1.4