Configure bash completion
Add bash completion rules to the /etc/bash_completion.d from the
cinder, neutron, keystone, nova and nova-manage.
This is very fast operation and makes the cli usage easier.
Change-Id: Icdcdaf55d58efaaa1afe25fd55f088bf7dc8b3f1
diff --git a/lib/cinder b/lib/cinder
index 54cf844..6fc877d 100644
--- a/lib/cinder
+++ b/lib/cinder
@@ -468,6 +468,7 @@
function install_cinderclient() {
git_clone $CINDERCLIENT_REPO $CINDERCLIENT_DIR $CINDERCLIENT_BRANCH
setup_develop $CINDERCLIENT_DIR
+ sudo install -D -m 0644 -o $STACK_USER {$CINDERCLIENT_DIR/tools/,/etc/bash_completion.d/}cinder.bash_completion
}
# apply config.d approach for cinder volumes directory