commit a97adc45745f0b9057588cecde4c040ddeed15d7 Author: Dmitry Tantsur Date: Thu Oct 15 15:21:19 2020 +0200 Support the configuration directory for tinyIPA DIB images support /etc/ironic-python-agent.d configuration directory, make tinyIPA support the same. Change-Id: I4c9c02c7450ec2300e6aa23b38bad979b8937caa diff --git a/tinyipa/build_files/bootlocal.sh b/tinyipa/build_files/bootlocal.sh index 7b1a274..49e7e3f 100755 --- a/tinyipa/build_files/bootlocal.sh +++ b/tinyipa/build_files/bootlocal.sh @@ -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() {