2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00
confluent/misc/xcatstateless/scripts/earlyboot.sh

12 lines
401 B
Bash

#!/bin/sh
mgr=$(grep ^deploy_server: /etc/confluent/confluent.deploycfg|awk '{print $2}')
profile=$(grep ^profile: /etc/confluent/confluent.deploycfg|awk '{print $2}')
nodename=$(grep ^NODENAME: /etc/confluent/confluent.info|awk '{print $2}')
export mgr profile nodename
curl -sSf https://$mgr/confluent-public/os/$profile/scripts/functions > /tmp/functions
. /tmp/functions
run_remote setupssh.sh