4 # Make vm1_robot config available to robot
7 PROPERTIES=/opt/eteshare/config/vm_properties.py
8 GLOBAL_VM_PROPERTIES="# File generated from /opt/config\n#\n"
9 for f in `ls $CONFIG/*.txt`;
14 GLOBAL_VM_PROPERTIES=$"$GLOBAL_VM_PROPERTIES \"$NAME\" : \"$VALUE\",\n"
16 GLOBAL_VM_PROPERTIES=${GLOBAL_VM_PROPERTIES/%,\\n/\}}
17 echo -e $GLOBAL_VM_PROPERTIES > $PROPERTIES
18 REGION=`cat $CONFIG/region.txt`
19 echo -e "\nGLOBAL_OPENSTACK_SERVICE_REGION = \"$REGION\"" >> /opt/eteshare/config/integration_robot_properties.py