From 63444ea47a8b324ac96bfaef614d6366045607dd Mon Sep 17 00:00:00 2001 From: Andrei Nistor Date: Tue, 21 Apr 2020 16:32:09 +0300 Subject: [PATCH] Fix software config on rdo The os-refresh-config scripts directory is currently set to /opt/stack/os-config-refresh, but the latest os-refresh-config expects it to be /usr/libexec/os-refresh-config Change-Id: Ic3f61ea88fd431e7d9893c6930c778f6fbf21147 --- .../templates/fragments/configure_config_agent.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hot/software-config/boot-config/templates/fragments/configure_config_agent.sh b/hot/software-config/boot-config/templates/fragments/configure_config_agent.sh index c1f9ed10..36fc7255 100644 --- a/hot/software-config/boot-config/templates/fragments/configure_config_agent.sh +++ b/hot/software-config/boot-config/templates/fragments/configure_config_agent.sh @@ -20,9 +20,9 @@ mkdir -p $oac_templates/var/run/heat-config # template for writing heat deployments data to a file echo "{{deployments}}" > $oac_templates/var/run/heat-config/heat-config -# os-refresh-config scripts directory -# This moves to /usr/libexec/os-refresh-config in later releases -orc_scripts=/opt/stack/os-config-refresh +# os-refresh-config scripts directory. +# For older version, this path might be `/opt/stack/os-config-refresh` +orc_scripts=/usr/libexec/os-refresh-config for d in pre-configure.d configure.d migration.d post-configure.d; do install -m 0755 -o root -g root -d $orc_scripts/$d done