Support the configuration directory for tinyIPA

DIB images support /etc/ironic-python-agent.d configuration directory,
make tinyIPA support the same.

Change-Id: I4c9c02c7450ec2300e6aa23b38bad979b8937caa
This commit is contained in:
Dmitry Tantsur 2020-10-15 15:21:19 +02:00
parent 5e72595a73
commit a97adc4574

View File

@ -67,10 +67,12 @@ configure_dhcp_network() {
# Configure networking, use custom udhcpc script to handle MTU option
configure_dhcp_network
mkdir -p /etc/ironic-python-agent.d/
# Run IPA
echo "Starting Ironic Python Agent:"
date
ironic-python-agent 2>&1 | tee /var/log/ironic-python-agent.log
ironic-python-agent --config-dir /etc/ironic-python-agent.d/ 2>&1 | tee /var/log/ironic-python-agent.log
create_rescue_user() {