echo `curl -s http://169.254.169.254/latest/meta-data/local-ipv4`export EC2_HOST=$(wget -O - http://169.254.169.254/latest/meta-data/local-ipv4 2> /dev/null)
export REMOTE_HOST="http://$EC2_HOST:5555"
bash -x /opt/bin/entry_point.shYes I ended up implenting a solution for this. I posted a gist in this issue on the ECS agent repo https://github.com/aws/amazon-ecs-agent/issues/151#issuecomment-268048078
Using that script you can pass the correct port to selenium
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/PYX1fYqNGqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/16d5756b-7b67-45ce-997e-85702c4468e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| Entrypoint | ["/bin/bash","-c","-e HUB_PORT_4444_TCP_ADDR=xx.xxx.xx.xx","-e HUB_PORT_4444_TCP_PORT=4444","-e SE_OPTS=\"-host xx.xxx.xx.xx -port 5900\""] |
|---|