Add openstackclient bash completion

Add bash completion in utility container.

Depends-On: I70059d1b0f9eb774519420b14239ab7e3081e7eb
Change-Id: I30b520986cff0eef4d7f9b08eb24cb41be6b587d
(cherry picked from commit d90e74350d)
This commit is contained in:
Marc Gariepy 2018-09-27 11:59:04 -04:00 committed by Jesse Pretorius (odyssey4me)
parent 0cd6fdbb61
commit 70b83f27f3
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,7 @@ utility_venv_bin: "/openstack/venvs/utility-{{ openstack_release }}/bin"
# Distribution packages to be installed into the utility container # Distribution packages to be installed into the utility container
utility_distro_packages: utility_distro_packages:
- git - git
- bash-completion
utility_distro_openstack_clients_packages: utility_distro_openstack_clients_packages:
- python-keystoneclient - python-keystoneclient

View File

@ -146,3 +146,6 @@
executable: /bin/bash executable: /bin/bash
with_items: "{{ _openstack_client_list }}" with_items: "{{ _openstack_client_list }}"
- name: Create openstack client bash_completion script
shell: |
openstack complete > /etc/bash_completion.d/openstack_client