summaryrefslogtreecommitdiffstats
path: root/src/main/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scripts')
-rw-r--r--src/main/scripts/docker-entry.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/scripts/docker-entry.sh b/src/main/scripts/docker-entry.sh
index e8766d6f..112318b2 100644
--- a/src/main/scripts/docker-entry.sh
+++ b/src/main/scripts/docker-entry.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-
###
# ============LICENSE_START=======================================================
# PROJECT
@@ -19,8 +18,7 @@
# limitations under the License.
# ============LICENSE_END=========================================================
###
-
-
+echo \$COLLECTOR_IP \$(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts
if [ -z "$CONSUL_HOST" ] || [ -z "$CONFIG_BINDING_SERVICE" ] || [ -z "$HOSTNAME" ]; then
echo "INFO: USING STANDARD CONTROLLER"
/opt/app/manager/start-manager.sh
@@ -30,3 +28,4 @@ else
/opt/app/VESCollector/bin/VESrestfulCollector.sh start &
fi
#while true; do sleep 1000; done
+