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
changes/14/721614/2
Andrei Nistor 3 years ago committed by Rico Lin
parent 8a20477005
commit 63444ea47a
  1. 6
      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

Loading…
Cancel
Save