Add support for ironicclient bash completion
This commit adds statement to copy the file /ironic.bash_completion
file to the default bash completion directory.
Change-Id: I436d46dbac0895a8ca14d085fec041981435936c
diff --git a/lib/ironic b/lib/ironic
index ef136bc..83f15a3 100644
--- a/lib/ironic
+++ b/lib/ironic
@@ -110,6 +110,7 @@
function install_ironicclient {
git_clone $IRONICCLIENT_REPO $IRONICCLIENT_DIR $IRONICCLIENT_BRANCH
setup_develop $IRONICCLIENT_DIR
+ sudo install -D -m 0644 -o $STACK_USER {$IRONICCLIENT_DIR/tools/,/etc/bash_completion.d/}ironic.bash_completion
}
# cleanup_ironic() - Remove residual data files, anything left over from previous