mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
9093a6e80a
This makes the pre/post/firstboot scripts more accessible and consistent with the other distributions.
7 lines
275 B
Bash
Executable File
7 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
deploycfg=/custom-installation/confluent/confluent.deploycfg
|
|
mgr=$(grep ^deploy_server $deploycfg|awk '{print $2}')
|
|
profile=$(grep ^profile: $deploycfg|awk '{print $2}')
|
|
curl -f https://$mgr/confluent-public/os/$profile/scripts/pre.sh > /tmp/pre.sh
|
|
. /tmp/pre.sh
|