Enable kubectl auto-completion 99/49999/1
authorhector <ha076r@att.com>
Sat, 2 Jun 2018 00:00:43 +0000 (20:00 -0400)
committerGary Wu <gary.i.wu@huawei.com>
Sat, 2 Jun 2018 00:09:23 +0000 (00:09 +0000)
Issue-ID: INT-518
Change-Id: Ib7544018d73a1861a86b2ab07780b463f7ec704a
Signed-off-by: Hector Anapan <ha076r@att.com>
(cherry picked from commit 56bc0dd1790f10b42396f9b8c15f804071bd2ff5)

deployment/heat/onap-oom/rancher_vm_entrypoint.sh

index 78fe455..3f9150d 100644 (file)
@@ -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