summaryrefslogtreecommitdiff
path: root/packages/suse
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2018-04-17 20:07:59 -0500
committerRyan Harper <ryan.harper@canonical.com>2018-04-17 20:07:59 -0500
commit6a979bb2fabd187efc392de7b0852cd0361bc9b8 (patch)
tree4c9b732856b74fafafbb57cc50bff29b9adf72fa /packages/suse
parent49b562c94838f4e2c0aa0df01a5247d06bc8a561 (diff)
downloadvyos-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 'packages/suse')
-rw-r--r--packages/suse/cloud-init.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/suse/cloud-init.spec.in b/packages/suse/cloud-init.spec.in
index 86e18b1b..bbb965a7 100644
--- a/packages/suse/cloud-init.spec.in
+++ b/packages/suse/cloud-init.spec.in
@@ -136,6 +136,7 @@ mkdir -p %{buildroot}/var/lib/cloud
%config(noreplace) %{_sysconfdir}/cloud/cloud.cfg.d/README
%dir %{_sysconfdir}/cloud/templates
%config(noreplace) %{_sysconfdir}/cloud/templates/*
+%{_sysconfdir}/bash_completion.d/cloud-init
# Python code is here...
%{python_sitelib}/*