diff options
author | 2018-01-22 15:25:53 -0800 | |
---|---|---|
committer | 2018-01-22 15:25:53 -0800 | |
commit | da9564a9b0b78bbe341de9b039aab3c378eb027f (patch) | |
tree | 74186eb0c6d429e84b3bb164bfbebfa50e90441e /build/ves-kafka | |
parent | 1d82514c0cf25ed599d27ecfd0c4c9502478ef0c (diff) |
Implement component deployment via cloudify
JIRA: VES-2
Change-Id: Ic696f13d2a32e10663f50cd4e26b9a060525ff92
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'build/ves-kafka')
-rw-r--r-- | build/ves-kafka/start.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/ves-kafka/start.sh b/build/ves-kafka/start.sh index ab4169b..37c36c2 100644 --- a/build/ves-kafka/start.sh +++ b/build/ves-kafka/start.sh @@ -16,14 +16,14 @@ #. What this is: Startup script for a kafka server as used by the OPNFV VES #. framework. -echo "$zookeeper $zookeeper_host" >>/etc/hosts +echo "$zookeeper_host $zookeeper_hostname" >>/etc/hosts cat /etc/hosts cd /opt/ves -sed -i "s/localhost:2181/$zookeeper_host:2181/" \ +sed -i "s/localhost:2181/$zookeeper_hostname:$zookeeper_port/" \ kafka_2.11-0.11.0.2/config/server.properties grep 2181 kafka_2.11-0.11.0.2/config/server.properties -sed -i "s~#advertised.listeners=PLAINTEXT://your.host.name:9092~advertised.listeners=PLAINTEXT://$kafka_hostname:9092~" \ +sed -i "s~#advertised.listeners=PLAINTEXT://your.host.name:9092~advertised.listeners=PLAINTEXT://$kafka_hostname:$kafka_port~" \ kafka_2.11-0.11.0.2/config/server.properties grep advertised.listeners kafka_2.11-0.11.0.2/config/server.properties |