summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2021-09-21 15:17:49 -0700
committerJulia Kreger <juliaashleykreger@gmail.com>2021-09-23 16:02:21 +0000
commit703d88c1c07b51b808af2a159e25c4f1c7878fa1 (patch)
tree0a8f101812e5bc71c34533c4bc8e2ab8d6f0e796
parentdb8e9e7539d1cfd03147f9d7a41799fc0bc04761 (diff)
downloadironic-703d88c1c07b51b808af2a159e25c4f1c7878fa1.tar.gz
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 4775fb3d9241a04351b50bdb5bd384e1676c8955)
-rw-r--r--devstack/lib/ironic2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index 605741215..5aec60a15 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -1803,7 +1803,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