mirror of
https://github.com/xcat2/confluent.git
synced 2025-03-15 16:07:47 +00:00
Change EL8 initramfs to use apiclient
This is a richer client that provides the extended information required for more accurate network autodetect.
This commit is contained in:
parent
1a664f669c
commit
2f4dd240dd
@ -30,7 +30,7 @@ umask 0077
|
||||
echo $apikey > /etc/confluent.apikey
|
||||
umask $oum
|
||||
mgr="[$mgr]"
|
||||
curl -f -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $apikey" https://$mgr/confluent-api/self/deploycfg > /tmp/confluent.deploycfg
|
||||
/usr/libexec/platform-python /opt/confluent/bin/apiclient /confluent-api/self/deploycfg > /tmp/confluent.deploycfg
|
||||
|
||||
dnsdomain=$(grep ^dnsdomain: /tmp/confluent.deploycfg)
|
||||
dnsdomain=${dnsdomain#dnsdomain: }
|
||||
|
@ -19,5 +19,6 @@ for i in /ssh/*.ca; do
|
||||
done
|
||||
cp /etc/confluent.apikey /sysroot/etc/
|
||||
cp /etc/confluent.apikey /sysroot/etc/confluent/
|
||||
cp /opt/confluent/bin/apiclient /sysroot/etc/confluent
|
||||
cp /tmp/confluent.deploycfg /tmp/confluent.info /sysroot/etc/
|
||||
cp /tmp/confluent.deploycfg /tmp/confluent.info /sysroot/etc/confluent
|
||||
|
Loading…
x
Reference in New Issue
Block a user