diff options
author | Andrei Nistor <andrei_nistor@smart-x.net> | 2020-04-21 16:32:09 +0300 |
---|---|---|
committer | Rico Lin <rico.lin.guanyu@gmail.com> | 2020-11-16 05:48:26 +0000 |
commit | 63444ea47a8b324ac96bfaef614d6366045607dd (patch) | |
tree | 14d7d4d0c07d33c66ecd4a3314daf342e16fce75 | |
parent | 8a20477005a6d9ab1e647597695aefc91328e5ea (diff) | |
download | heat-templates-63444ea47a8b324ac96bfaef614d6366045607dd.tar.gz |
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
-rw-r--r-- | hot/software-config/boot-config/templates/fragments/configure_config_agent.sh | 6 |
1 files 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 c1f9ed1..36fc725 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 |