mirror of
https://github.com/xcat2/confluent.git
synced 2026-04-22 00:31:27 +00:00
Fix mistakes in the node apoption samples
This commit is contained in:
@@ -12,7 +12,7 @@ fi
|
||||
OLDINSECURE=$(nodeattrib $TARGNODE deployment.useinsecureprotocols -b 2> /dev/null |grep -v inherited|awk '{print $3}')
|
||||
nodedefine $TARGNODE deployment.profile=$TARGPROF deployment.useinsecureprotocols= deployment.pendingprofile=$TARGPROF
|
||||
confetty set /nodes/$TARGNODE/deployment/ident_image=create
|
||||
REMTMP=$(ssh $TARGNODE $(mktemp -d))
|
||||
REMTMP=$(ssh $TARGNODE mktemp -d)
|
||||
scp /var/lib/confluent/private/identity_files/$TARGNODE.json $TARGNODE:$REMTMP
|
||||
rm /var/lib/confluent/private/identity_files/$TARGNODE.*
|
||||
rm /var/lib/confluent/private/identity_images/$TARGNODE.*
|
||||
|
||||
@@ -19,7 +19,7 @@ if [ "$FWACTIVE" == 1 ]; then systemctl stop firewalld; fi
|
||||
opt/confluent/bin/copernicus > /etc/confluent/confluent.info
|
||||
#opt/confluent/bin/clortho $TARGNODE $DEPLOYSRV > /etc/confluent/confluent.apikey
|
||||
. /etc/confluent/functions
|
||||
confluentpython opt/confluent/bin/apiclient -i $TAGRIDENT /confluent-api/self/deploycfg2 > /etc/confluent/confluent.deploycfg
|
||||
confluentpython opt/confluent/bin/apiclient -i $TARGIDENT /confluent-api/self/deploycfg2 > /etc/confluent/confluent.deploycfg
|
||||
if [ "$FWACTIVE" == 1 ]; then systemctl start firewalld; fi
|
||||
cp opt/confluent/bin/apiclient /opt/confluent/bin
|
||||
#curl -sg -H "CONFLUENT_APIKEY: $(cat /etc/confluent/confluent.apikey)" -H "CONFLUENT_NODENAME: $TARGNODE" https://$UDEPLOYSRV/confluent-api/self/deploycfg2 > /etc/confluent/confluent.deploycfg
|
||||
|
||||
Reference in New Issue
Block a user