diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2018-04-17 20:07:59 -0500 |
---|---|---|
committer | Ryan Harper <ryan.harper@canonical.com> | 2018-04-17 20:07:59 -0500 |
commit | 6a979bb2fabd187efc392de7b0852cd0361bc9b8 (patch) | |
tree | 4c9b732856b74fafafbb57cc50bff29b9adf72fa /setup.py | |
parent | 49b562c94838f4e2c0aa0df01a5247d06bc8a561 (diff) | |
download | vyos-cloud-init-6a979bb2fabd187efc392de7b0852cd0361bc9b8.tar.gz vyos-cloud-init-6a979bb2fabd187efc392de7b0852cd0361bc9b8.zip |
Implement bash completion script for cloud-init command line
In bash shells with bash_completion enabled, now the cloud-init
sub commands and parameters/flags will be shown.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -228,6 +228,7 @@ if not in_virtualenv(): INITSYS_ROOTS[k] = "/" + INITSYS_ROOTS[k] data_files = [ + (ETC + '/bash_completion.d', ['bash_completion/cloud-init']), (ETC + '/cloud', [render_tmpl("config/cloud.cfg.tmpl")]), (ETC + '/cloud/cloud.cfg.d', glob('config/cloud.cfg.d/*')), (ETC + '/cloud/templates', glob('templates/*')), |