From: Michael Prokop Date: Sat, 18 Jul 2020 14:03:58 +0000 (+0200) Subject: /e/n/i: move sourcing of /etc/network/interfaces.d/ to begin of file X-Git-Tag: v0.37.0~1 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=bf7faeaca4251c21c40bedaf02901e36f1582a2a /e/n/i: move sourcing of /etc/network/interfaces.d/ to begin of file netcardconfig doesn't properly handle this section and it disappears when configuring network devices then. Rewriting netcardconfig is on our agenda (see https://github.com/grml/grml-network/issues/11), until we get there let's make sure the status quo works as good as possible. Take over wording based on what ifupdown's postinst script uses. --- diff --git a/etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE b/etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE index abe8f5b..dae8e21 100644 --- a/etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE +++ b/etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE @@ -2,8 +2,12 @@ # ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/35-network script, using # ${GRML_FAI_CONFIG}/config/files/etc/network/interfaces/GRMLBASE +# interfaces(5) file used by ifup(8) and ifdown(8) + +# Include files from /etc/network/interfaces.d: +source /etc/network/interfaces.d/* + # The loopback interface auto lo iface lo inet loopback -source /etc/network/interfaces.d/*