forked from suse-edge/Factory
Drop all the config and script files into their respective directory from the upstream release v30.0.0. Any required customization will follow in subsequent commits, which could potentially be reused for future realignments. Signed-off-by: Marco Chiappero <marco.chiappero@suse.com>
19 lines
431 B
Bash
19 lines
431 B
Bash
#!/usr/bin/bash
|
|
|
|
# shellcheck disable=SC1091
|
|
. /bin/configure-ironic.sh
|
|
|
|
# Ramdisk logs
|
|
mkdir -p /shared/log/ironic/deploy
|
|
|
|
# Allows skipping dbsync if it's done by an external job
|
|
if [[ "${IRONIC_SKIP_DBSYNC:-false}" != true ]]; then
|
|
run_ironic_dbsync
|
|
fi
|
|
|
|
configure_restart_on_certificate_update "${IRONIC_TLS_SETUP}" ironic "${IRONIC_CERT_FILE}"
|
|
|
|
configure_ironic_auth
|
|
|
|
exec /usr/bin/ironic --config-dir "${IRONIC_CONF_DIR}"
|