2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Also copy api key to usable location.

This commit is contained in:
Jarrod Johnson 2020-06-30 16:59:52 -04:00
parent 8d3374b1e7
commit 94f2b618bd

View File

@ -27,11 +27,11 @@ if [ -z "$apikey" ]; then
fi
oum=$(umask)
umask 0077
mkdir /etc/confluent
echo $apikey > /etc/confluent.apikey
umask $oum
mgr="[$mgr]"
mkdir /etc/confluent
cp /tmp/confluent.info /etc/confluent/
cp /tmp/confluent.info /etc/confluent.apikey /etc/confluent/
/usr/libexec/platform-python /opt/confluent/bin/apiclient /confluent-api/self/deploycfg > /tmp/confluent.deploycfg
dnsdomain=$(grep ^dnsdomain: /tmp/confluent.deploycfg)