[Bug 1815734] Re: yml yaml file extension
Lukas Märdian
1815734 at bugs.launchpad.net
Thu Oct 13 10:04:19 UTC 2022
** Changed in: netplan.io (Ubuntu)
Status: Triaged => Invalid
** No longer affects: netplan.io (Ubuntu)
--
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
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