2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-04-10 09:45:16 +00:00

Fix Suse deployment

It missed the rename of the deploy_server attribute.
This commit is contained in:
Jarrod Johnson 2020-05-15 19:11:22 -04:00
parent b67140248e
commit 5ebe127db2
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@
<source>
<![CDATA[
#!/bin/sh
mgr=$(grep ^ipv._server /tmp/confluent.deploycfg|awk '{print $2}')
mgr=$(grep ^deploy_server /tmp/confluent.deploycfg|awk '{print $2}')
profile=$(grep ^profile: /tmp/confluent.deploycfg|sed -e 's/^profile: //')
proto=$(grep ^protocol: /tmp/confluent.deploycfg |awk '{print $2}')
curl $proto://$mgr/confluent-public/os/$profile/scripts/pre.sh > /tmp/pre.sh
@ -93,7 +93,7 @@ curl $proto://$mgr/confluent-public/os/$profile/scripts/pre.sh > /tmp/pre.sh
<source>
<![CDATA[
#!/bin/sh
mgr=$(grep ^ipv._server /tmp/confluent.deploycfg|awk '{print $2}')
mgr=$(grep ^deploy_server /tmp/confluent.deploycfg|awk '{print $2}')
profile=$(grep ^profile: /tmp/confluent.deploycfg|sed -e 's/^profile: //')
proto=$(grep ^protocol: /tmp/confluent.deploycfg |awk '{print $2}')
curl $proto://$mgr/confluent-public/os/$profile/scripts/post.sh > /tmp/post.sh

View File

@ -3,7 +3,7 @@
# This script runs at the end of the final boot, updating status
nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}')
mgr=$(grep ^ipv._server /etc/confluent/confluent.deploycfg|awk '{print $2}')
mgr=$(grep ^deploy_server /etc/confluent/confluent.deploycfg|awk '{print $2}')
profile=$(grep ^profile: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
proto=$(grep ^protocol: /etc/confluent/confluent.deploycfg |awk '{print $2}')
apikey=$(cat /etc/confluent/confluent.apikey)