Skip to content

Commit

Permalink
Add osd config yml to any artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Nov 3, 2022
1 parent 14693cc commit 2165c9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/components/OpenSearch-Dashboards/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ echo $DIR
cd $DIR

## Setup default config
if [ "$DISTRIBUTION" = "tar" ]; then
cp ../../../config/opensearch_dashboards.yml "$OUTPUT/config/"

elif [ "$DISTRIBUTION" = "rpm" ]; then
cp ../../../config/opensearch_dashboards.yml "$OUTPUT/../etc/opensearch-dashboards/"
if [ "$DISTRIBUTION" = "rpm" ]; then
cp -v ../../../config/opensearch_dashboards.yml "$OUTPUT/../etc/opensearch-dashboards/"
cp -a ../../../scripts/pkg/service_templates/opensearch-dashboards/* "$OUTPUT/../"
cp -a ../../../scripts/pkg/build_templates/opensearch-dashboards/* "$OUTPUT/../"
else
cp -v ../../../config/opensearch_dashboards.yml "$OUTPUT/config/"
fi

0 comments on commit 2165c9a

Please sign in to comment.