promenade/tools/registry/update_example.sh
Mark Burnett e56ad622c3 Add an example with Ceph
This extends the virsh-based test tooling to both the previous, basic
example and the new "complete" example.  It also removes the Vagrant
tooling.

Change-Id: I249f937e9b3eedc486e31a3d1c1ac31bcfdf0ca8
2017-10-26 07:40:31 -05:00

11 lines
205 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
IMAGES_FILE=$(dirname $0)/IMAGES
IFS=,
grep -v '^#.*' $IMAGES_FILE | while read src tag dst; do
sed -i "s;$src:$tag;registry:5000/$dst:$tag;g" examples/basic/*.yaml
done