Skip to content

Commit

Permalink
Merge pull request #952 from stuggi/bz2251800
Browse files Browse the repository at this point in the history
Fix override of rendered files via tarball
  • Loading branch information
openshift-merge-bot[bot] authored Nov 28, 2023
2 parents 5e57492 + 4417f79 commit b3400ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/openstackconfiggenerator/bin/create-playbooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ cp -a /usr/share/openstack-tripleo-heat-templates/* $TEMPLATES_DIR
rm -Rf $HOME/config-tmp
mkdir -p $HOME/config-tmp
pushd $HOME/config-tmp
cp $HOME/config/* $HOME/config-tmp
cp $HOME/config-custom/* $HOME/config-tmp
# extract any tar files into $HOME/config-tmp
{{- if .TripleoTarballFiles }}
{{- range $key, $value := .TripleoTarballFiles }}
tar -xvf $HOME/tht-tars/{{ $key }}
{{- end }}
{{- end }}
cp $HOME/config/* $HOME/config-tmp
cp $HOME/config-custom/* $HOME/config-tmp
# remove all references to the default tht dir
sed -e "s|/usr/share/openstack\-tripleo\-heat\-templates|\.|" -i $HOME/config-tmp/*.yaml
# copy to our temp t-h-t dir
Expand Down

0 comments on commit b3400ec

Please sign in to comment.