From 4775fb3d9241a04351b50bdb5bd384e1676c8955 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Tue, 21 Sep 2021 15:17:49 -0700 Subject: [PATCH] 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 --- devstack/lib/ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 6057412150..5aec60a15c 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