Devstack: don't scan /opt, /etc looking for isolinux
/opt contains a mirror of an insane amount of stuff, and it chews
disk io to scan it looking for isolinux.bin which should be under
/usr on... well... every OS we support.
Also, don't scan /etc. That is just weird.
Change-Id: I52f4c1ba8808fea637df69a631eaa1c674dc8e69
(cherry picked from commit 4775fb3d92
)
This commit is contained in:
parent
c5beaa95c9
commit
7a0cb9f1f5
|
@ -1783,7 +1783,7 @@ function configure_ironic_conductor {
|
|||
|
||||
iniset $IRONIC_CONF_FILE deploy default_boot_option $IRONIC_DEFAULT_BOOT_OPTION
|
||||
|
||||
isolinux=$(find -L /usr /opt /etc -type f -name "isolinux.bin" | head -1)
|
||||
isolinux=$(find -L /usr -type f -name "isolinux.bin" | head -1)
|
||||
if [[ -n "$isolinux" ]]; then
|
||||
iniset $IRONIC_CONF_FILE DEFAULT isolinux_bin "$isolinux"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue