So the blurb that ifupdown puts in /etc/network/interfaces when it doesn't 
exist is:
"""
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d"
"""

The loopback interface entry is no longer required as it's assumed to
always be present by ifupdown.

There isn't any naming convention for files under
/etc/network/interfaces.d/. So long as they match "^[a-zA-Z0-9_-]+$",
"eth0" would seem reasonable to me.

Should you have to do any kind of migration, I'd suggest doing:
 - Move /etc/network/interfaces to /etc/network/interfaces.d/original
 - Rewrite /etc/network/interfaces with the content I posted above
 - Add any new /etc/network/interfaces.d/ entry that you may want

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1262951

Title:
  cloud-images /etc/network/interfaces shoud source-directory
  interfaces.d

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1262951/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to