device_aliases feature documented but not implemented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Disk Setup module documents[1] a key called `device_aliases`, however it does not seem to function and a quick grep of the code base shows that there does not appear to be any code to support this key, purely the documentation. There is `disk_aliases` key in the Azure and SmartOS datasources which appears to serve a similar purpose, but is not obviously intended for end-user use.
This feature would be really useful, so fixing the code to match the documentation seems like it would be preferable to removing the the documentation. With that said, updating documentation for historical versions would be helpful, it would certainly have saved me personally a whole bunch of time!
Cheers!
[1]: https:/
Thanks Mal for this bug report. You are right: there is a discrepancy between documentation and code. The correct name for the key is `disk_aliases`, as you found out already.