1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Merge pull request #286 from markfeathers/postinst-source

debian: postinst: source /etc/network/interfaces.d/ in generated config
This commit is contained in:
Julien Fortin
2023-12-08 22:36:27 +01:00
committed by GitHub

View File

@ -37,6 +37,7 @@ process_etc_network_interfaces()
if [ -z "$2" ]; then
echo "Creating /etc/network/interfaces."
echo "# interfaces(5) file used by ifup(8) and ifdown(8)" > /etc/network/interfaces
echo "source /etc/network/interfaces.d/*" >> /etc/network/interfaces
echo "auto lo" >> /etc/network/interfaces
echo "iface lo inet loopback" >> /etc/network/interfaces
else