Skip to content

Commit

Permalink
fix(vmware): include modules in tgz (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
finken2 authored Jun 7, 2024
1 parent ad93e1d commit 86bd946
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions make-release-satellite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,9 @@ echo "catalog name is $CATALOG_NAME"

mkdir -p $OUTPUT_DIR
cp -r examples/satellite-$CLOUD/. $OUTPUT_DIR
if [[ $CLOUD != 'vmware' ]]; then
cp -r modules $OUTPUT_DIR
# note, gnu sed. If on MacOS, use gsed or add '' after -i
sed -i 's#../../modules#./modules#g' $OUTPUT_DIR/*.tf
fi
cp -r modules $OUTPUT_DIR
# note, gnu sed. If on MacOS, use gsed or add '' after -i
sed -i 's#../../modules#./modules#g' $OUTPUT_DIR/*.tf

cd $OUTPUT_DIR/..
# chown should only be needed locally so username isn't in tar
Expand Down

0 comments on commit 86bd946

Please sign in to comment.