Adding a check for already bootstrapped clusters where the image is
already set to avoid overriding it.
Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
(cherry picked from commit
fabcbeab2c5c8819ce20134fe316e102090dc00f)
ctx.ceph[cluster_name].bootstrapped = False
# image
- ctx.ceph[cluster_name].image = config.get('image')
+ if not hasattr(ctx.ceph[cluster_name], 'image'):
+ ctx.ceph[cluster_name].image = config.get('image')
ref = None
if not ctx.ceph[cluster_name].image:
sha1 = config.get('sha1')