Initial commit to run the CLI in its own docker container. Currently
the cli is started with the -L option when the user logs into the
container using ssh. More flexibility will be added in future updates.
This update addresses https://jira.opencord.org/browse/CORD-1106

Change-Id: Id104e6fe01202af7073ade45a9c2cea0bdbcc4ae
diff --git a/cli/setup.sh b/cli/setup.sh
new file mode 100755
index 0000000..d800ee9
--- /dev/null
+++ b/cli/setup.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+echo "export DOCKER_HOST_IP=$DOCKER_HOST_IP" > /home/voltha/.bashrc
+echo "export PYTHONPATH=/cli" >> /home/voltha/.bashrc
+echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >> /home/voltha/.bashrc
+echo "export DOCKER_HOST_IP=$DOCKER_HOST_IP" > /home/voltha/.bash_profile
+echo "export PYTHONPATH=/cli" >> /home/voltha/.bash_profile
+echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >> /home/voltha/.bash_profile
+echo '/cli/cli/main.py -L -C $DOCKER_HOST_IP:8500' >> /home/voltha/.bash_profile
+echo "logout" >> /home/voltha/.bash_profile
+chown voltha.voltha /home/voltha/.bash_profile
+/usr/sbin/sshd -D
+