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:
1
debian/ifupdown2.postinst
vendored
1
debian/ifupdown2.postinst
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user