summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhector <ha076r@att.com>2018-06-01 20:00:43 -0400
committerhector <ha076r@att.com>2018-06-01 20:04:44 -0400
commit56bc0dd1790f10b42396f9b8c15f804071bd2ff5 (patch)
tree2caded9257017f1a72812426635707b4cd4d72dc
parent894044d2865171b4c89af912412e851705b48abf (diff)
Enable kubectl auto-completion
Issue-ID: INT-518 Change-Id: Ib7544018d73a1861a86b2ab07780b463f7ec704a Signed-off-by: Hector Anapan <ha076r@att.com>
-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