Re: Retrieving external ip in .erb template

Dmitriy Kalinin

Concourse release ( does something like

Your example should work also.

On Fri, May 22, 2015 at 8:16 AM, Stevo Slavić <sslavic(a)> wrote:

Hello Bosh community,

Is it possible to retrieve external ip in .erb template?

I'd like to release/deploy Apache Kafka using Bosh, and one of the
properties to configure in Kafka is
- every instance needs to know it's external ip, to advertise it to others.

Should something like:<%= spec.networks.marshal_dump.first[1].ip %>


Kind regards,
Stevo Slavic.

cf-bosh mailing list

Join to automatically receive all group messages.