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:
parent
8d3374b1e7
commit
94f2b618bd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user