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

debian: postinst: source /etc/network/interfaces.d/ in generated config

This commit is contained in:
Mark Featherston
2023-12-08 11:07:57 -07:00
parent 989508a237
commit ccc6ac8fa5

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