From 7e59f53b59472f6a4581a1e4447c28ea3381a2ca Mon Sep 17 00:00:00 2001 From: yatin Date: Tue, 17 Jan 2017 10:17:49 +0530 Subject: [PATCH] [devstack] Copy bash_completion script during magnum installation Copy magnum.bash_completion script to /etc/bash_completion.d so that users/developers can take advantage of auto completion of magnum commands. Change-Id: I8d0ba953e7eb963be1d9e459c4015e882231e2c8 Closes-Bug: #1657004 --- devstack/lib/magnum | 1 + 1 file changed, 1 insertion(+) diff --git a/devstack/lib/magnum b/devstack/lib/magnum index 96bf4a053c..f95b587d3c 100644 --- a/devstack/lib/magnum +++ b/devstack/lib/magnum @@ -287,6 +287,7 @@ function install_magnumclient { if use_library_from_git "python-magnumclient"; then git_clone_by_name "python-magnumclient" setup_dev_lib "python-magnumclient" + sudo install -D -m 0644 -o $STACK_USER {${GITDIR["python-magnumclient"]}/tools/,/etc/bash_completion.d/}magnum.bash_completion fi }