5 docker ps | grep -q openecompete_container
6 if [ ! $? -eq 0 ]; then
7 echo "Robot not initialized"
11 if [ ! -d eteshare/logs/demo ]; then
12 echo $OS_PROJECT_ID > /opt/config/openstack_tenant_id.txt
13 echo $OS_USERNAME > /opt/config/openstack_username.txt
14 echo $OS_PASSWORD > /opt/config/openstack_password.txt
15 /bin/bash /opt/eteshare/config/vm_config2robot.sh
16 # set robot VM http server password
17 echo "admin" | /opt/demo.sh init_robot