summaryrefslogtreecommitdiff
path: root/packages/redhat
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/redhat
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/redhat')
-rw-r--r--packages/redhat/cloud-init.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in
index 6ab0d20b..91faf3c6 100644
--- a/packages/redhat/cloud-init.spec.in
+++ b/packages/redhat/cloud-init.spec.in
@@ -197,6 +197,7 @@ fi
%dir %{_sysconfdir}/cloud/templates
%config(noreplace) %{_sysconfdir}/cloud/templates/*
%config(noreplace) %{_sysconfdir}/rsyslog.d/21-cloudinit.conf
+%{_sysconfdir}/bash_completion.d/cloud-init
%{_libexecdir}/%{name}
%dir %{_sharedstatedir}/cloud