Browse Source

Support the configuration directory for tinyIPA

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

Change-Id: I4c9c02c7450ec2300e6aa23b38bad979b8937caa
changes/26/758426/1
Dmitry Tantsur 3 months ago
parent
commit
a97adc4574
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      tinyipa/build_files/bootlocal.sh

+ 3
- 1
tinyipa/build_files/bootlocal.sh 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() {


Loading…
Cancel
Save