2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 11:01:09 +00:00
confluent/confluent_osdeploy/genesis/profiles/default/scripts/onboot.sh
Jarrod Johnson 76fdf59122 Change genesis functions location
Put it in a place consistent with more normal use.
2022-03-03 08:34:57 -05:00

19 lines
583 B
Bash

#!/bin/sh
. /etc/confluent/functions
# This runs whenever this genesis profile boots for customization
# purposes
# run_remote and run_remote_python are available to download scripts and
# execute them.
# This will induce server side processing of the syncfile contents if
# present
run_remote_python syncfileclient
# Induce execution of remote configuration, e.g. ansible plays in ansible/onboot.d/
run_remote_config onboot
# This is an example to request the BMC be configured on the network
# according to how confluent has things configured:
# run_remote_python configbmc -c