2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Save deployer to mgr when media directed

Pre-empt the IPv4/v6 fallback designed.
This commit is contained in:
Jarrod Johnson 2022-12-09 09:04:11 -05:00
parent fb98cbaa4a
commit 82fe68216a

View File

@ -91,6 +91,7 @@ if [ -e /dev/disk/by-label/CNFLNT_IDNT ]; then
curl -sf -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $confluent_apikey" https://$deployer/confluent-api/self/deploycfg2 > /etc/confluent/confluent.deploycfg
confluent_profile=$(grep ^profile: /etc/confluent/confluent.deploycfg)
confluent_profile=${confluent_profile#profile: }
mgr=$deployer
break
fi
done