summaryrefslogtreecommitdiff
path: root/doc/rtd/topics/modules.rst
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2020-04-17 19:19:50 +0300
committerzsdc <taras@vyos.io>2020-04-17 22:29:13 +0300
commitc9408ceb137c9585d5707dd37e6a85d89a5c24c9 (patch)
treefe54db65f70ab7a891d31ba8c22852b6fd238fdf /doc/rtd/topics/modules.rst
parent23b1e8570ce4689cda0c420966476cfacee03197 (diff)
downloadvyos-cloud-init-c9408ceb137c9585d5707dd37e6a85d89a5c24c9.tar.gz
vyos-cloud-init-c9408ceb137c9585d5707dd37e6a85d89a5c24c9.zip
Cloud-init: T2309: Added filter to host-name and code cleanup
Since not all data-sources filter hostname in Meta-Data, we need to be sure that the value received from Meta-Data can be applied to the system. The new filter cut all prohibited symbols and takes only that part of the filtered result, which can be used as a hostname. Additionally, the source was cleaned where it is possible, according to linter recommendations.
Diffstat (limited to 'doc/rtd/topics/modules.rst')
0 files changed, 0 insertions, 0 deletions