Skip to main content

What does source /etc/network/interfaces.d/* do at the top of the /etc/network/interfaces file? [Resolved]

I've noticed that by default the below line is included in /etc/network/interfaces:

source /etc/network/interfaces.d/*

What is the purpose of this line and what does it actually do?

Question Credit: Greg
Question Reference
Asked June 24, 2019
Posted Under: Network
2 Answers

From the Ubuntu interfaces man page:

Lines beginning with "source" are used to include stanzas from other files, so configuration can be split into many files. The word "source" is followed by the path of file to be sourced. Shell wildcards can be used. Currently only supports absolute path names.

credit: Paul
Answered June 24, 2019
Your Answer