aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorhector <ha076r@att.com>2018-06-01 20:00:43 -0400
committerGary Wu <gary.i.wu@huawei.com>2018-06-02 00:09:23 +0000
commit0280abe12beffd87373e4ea5aabd1ac0cf75a4f9 (patch)
treeb783cbd2e6e60ba38370dd589539ff33f86af4f2 /deployment
parentc533c4bb56148b708a935f60a5ee3aeaea840a0a (diff)
Enable kubectl auto-completion
Issue-ID: INT-518 Change-Id: Ib7544018d73a1861a86b2ab07780b463f7ec704a Signed-off-by: Hector Anapan <ha076r@att.com> (cherry picked from commit 56bc0dd1790f10b42396f9b8c15f804071bd2ff5)
Diffstat (limited to 'deployment')
-rw-r--r--deployment/heat/onap-oom/rancher_vm_entrypoint.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
index 78fe455a0..3f9150d1c 100644
--- a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
+++ b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
@@ -197,6 +197,8 @@ make all
helm search -l | grep local
helm install local/onap -n dev --namespace onap -f ~/integration-override.yaml
+# Enable auto-completion for kubectl
+echo "source <(kubectl completion bash)" >> ~/.bashrc
# Check ONAP status:
sleep 3