etc/network/interfaces/GRMLBASE: support /etc/network/interfaces.d/* in /e/n/i
authorMichael Prokop <mika@grml.org>
Thu, 28 May 2020 12:30:00 +0000 (14:30 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 28 May 2020 12:30:00 +0000 (14:30 +0200)
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

etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE

index 9f1df7b..abe8f5b 100644 (file)
@@ -5,3 +5,5 @@
 # The loopback interface
 auto lo
 iface lo inet loopback
 # The loopback interface
 auto lo
 iface lo inet loopback
+
+source /etc/network/interfaces.d/*