From bf7faeaca4251c21c40bedaf02901e36f1582a2a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 18 Jul 2020 16:03:58 +0200 Subject: [PATCH] /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. --- etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE b/etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE index abe8f5bb..dae8e214 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/*