#!/bin/bash deploycfg=/custom-installation/confluent/confluent.deploycfg mgr=$(grep ^deploy_server $deploycfg|awk '{print $2}') profile=$(grep ^profile: $deploycfg|awk '{print $2}') export deploycfg mgr profile curl -f https://$mgr/confluent-public/os/$profile/scripts/post.sh > /tmp/post.sh . /tmp/post.sh