mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-27 12:00:10 +00:00
a595d31e94
Ubuntu really tries to use non-bash, explicitly use bash when we need it.
9 lines
375 B
Bash
Executable File
9 lines
375 B
Bash
Executable File
#!/bin/bash
|
|
deploycfg=/custom-installation/confluent/confluent.deploycfg
|
|
confluent_mgr=$(grep ^deploy_server $deploycfg|awk '{print $2}')
|
|
confluent_profile=$(grep ^profile: $deploycfg|awk '{print $2}')
|
|
export deploycfg confluent_mgr confluent_profile
|
|
curl -f https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/post.sh > /tmp/post.sh
|
|
bash /tmp/post.sh
|
|
true
|