[Bug 1815734] Re: yml yaml file extension
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Wed Mar 20 17:53:18 UTC 2019
Sure. This seems like a simple fix / enhancement.
** Changed in: netplan
Status: New => Triaged
** Changed in: netplan
Importance: Undecided => Wishlist
** Also affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
** Changed in: netplan.io (Ubuntu)
Status: New => Triaged
** Changed in: netplan.io (Ubuntu)
Importance: Undecided => Wishlist
** Tags added: bitesize
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1815734
Title:
yml yaml file extension
Status in netplan:
Triaged
Status in netplan.io package in Ubuntu:
Triaged
Bug description:
netplan currently only accepts *.yaml files.
However, it is quite common for YAML files to have a .yml file extension.
https://en.wikipedia.org/wiki/YAML
I would propose allowing both file extensions when searching for config files, i.e., here:
https://github.com/CanonicalLtd/netplan/blob/b2c6d87503f86e684c8aa693fe2295a0c27768b0/netplan/configmanager.py#L98 (and possible other places)
It would also be nice for netplan to at least give a "No config files
found!" error message to avoid endless frustration with sysadmins
wondering why their configs are not found and applied.
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1815734/+subscriptions
More information about the foundations-bugs
mailing list