mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-24 10:30:22 +00:00
886aade5dc
Apply same comment principles to suse as was applied to redhat.
23 lines
767 B
Bash
23 lines
767 B
Bash
#!/bin/sh
|
|
|
|
# This script runs at the end of install in the installed system
|
|
# but still under the installer kernel.
|
|
|
|
# This is a good place to run most customizations that do not have any
|
|
# dependency upon the install target kernel being active.
|
|
|
|
# If there are dependencies on the kernel (drivers or special filesystems)
|
|
# then firstboot.sh would be the script to customize.
|
|
|
|
mgr=$(grep ^deploy_server /etc/confluent/confluent.deploycfg|awk '{print $2}')
|
|
profile=$(grep ^profile: /etc/confluent/confluent.deploycfg|sed -e 's/^profile: //')
|
|
nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}')
|
|
export mgr profile nodename
|
|
. /etc/confluennt/functions
|
|
|
|
# Customizations may go here
|
|
|
|
# Examples:
|
|
# run_remote script.sh
|
|
# run_remote_python script.py
|