projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d3f6584
)
9990-grml-networking.sh: support /etc/network/interfaces.d/* in /e/n/i
author
Michael Prokop
<mika@grml.org>
Wed, 27 May 2020 11:48:50 +0000
(13:48 +0200)
committer
Michael Prokop
<mika@grml.org>
Wed, 27 May 2020 11:52:13 +0000
(13:52 +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
components/9990-grml-networking.sh
patch
|
blob
|
history
diff --git
a/components/9990-grml-networking.sh
b/components/9990-grml-networking.sh
index
16e7b7f
..
939c0ea
100644
(file)
--- 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