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 server.properties is advertised.host.name
- every instance needs to know it's external ip, to advertise it to others.
Should something like:
advertised.host.name=<%= spec.networks.marshal_dump.first[1].ip %>
work?
Kind regards,
Stevo Slavic.