summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2019-04-19 21:38:44 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-04-19 21:38:44 +0000
commit69251d5b4431204c1e768fdf6e9f268edceb2e96 (patch)
treeba8d028325bce2988d9bbab8da0234a90aa4e58f
parentc8c32515778983d244126d4e359be9e91b3ce9e5 (diff)
downloadvyos-cloud-init-69251d5b4431204c1e768fdf6e9f268edceb2e96.tar.gz
vyos-cloud-init-69251d5b4431204c1e768fdf6e9f268edceb2e96.zip
packages: update rpm specs for new bash completion path
LP: #1825444
-rw-r--r--packages/redhat/cloud-init.spec.in4
-rw-r--r--packages/suse/cloud-init.spec.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in
index 6b2022ba..057a5784 100644
--- a/packages/redhat/cloud-init.spec.in
+++ b/packages/redhat/cloud-init.spec.in
@@ -205,7 +205,9 @@ fi
%dir %{_sysconfdir}/cloud/templates
%config(noreplace) %{_sysconfdir}/cloud/templates/*
%config(noreplace) %{_sysconfdir}/rsyslog.d/21-cloudinit.conf
-%{_sysconfdir}/bash_completion.d/cloud-init
+
+# Bash completion script
+%{_datadir}/bash-completion/completions/cloud-init
%{_libexecdir}/%{name}
%dir %{_sharedstatedir}/cloud
diff --git a/packages/suse/cloud-init.spec.in b/packages/suse/cloud-init.spec.in
index 26894b34..004b875f 100644
--- a/packages/suse/cloud-init.spec.in
+++ b/packages/suse/cloud-init.spec.in
@@ -120,7 +120,9 @@ version_pys=$(cd "%{buildroot}" && find . -name version.py -type f)
%config(noreplace) %{_sysconfdir}/cloud/cloud.cfg.d/README
%dir %{_sysconfdir}/cloud/templates
%config(noreplace) %{_sysconfdir}/cloud/templates/*
-%{_sysconfdir}/bash_completion.d/cloud-init
+
+# Bash completion script
+%{_datadir}/bash-completion/completions/cloud-init
%{_sysconfdir}/dhcp/dhclient-exit-hooks.d/hook-dhclient
%{_sysconfdir}/NetworkManager/dispatcher.d/hook-network-manager