When installing using a bundle, the image overlay was not being
generated, resulting in the --tag option being ignored.
Bug 1130
Change-Id: I8e474d60b03abcb913d8586c8d643d099f1d8baf
Signed-off-by: beierlm <mark.beierl@canonical.com>
fi
echo "Deploying OSM with charms"
# echo $BUNDLE
+ images_overlay=""
+ [ -v TAG ] && generate_images_overlay && images_overlay="--overlay $IMAGES_OVERLAY_FILE"
if [ -v BUNDLE ]; then
- juju deploy $BUNDLE --overlay ~/.osm/vca-overlay.yaml
+ juju deploy $BUNDLE --overlay ~/.osm/vca-overlay.yaml $images_overlay
else
- images_overlay=""
- [ -v TAG ] && generate_images_overlay && images_overlay="--overlay $IMAGES_OVERLAY_FILE"
juju deploy osm --overlay ~/.osm/vca-overlay.yaml $images_overlay
fi
echo "Waiting for deployment to finish..."