From 58d40b7a487229739853d6cd27aba9bbf0f83318 Mon Sep 17 00:00:00 2001 From: Joe Eltgroth Date: Thu, 21 Nov 2024 16:06:52 -0600 Subject: [PATCH] feat: Fixed a bug when assigning stemcell_ids - Stemcell ids is an array and not a string Co-authored-by: Joe Eltgroth Co-authored-by: Ramkumar Vengadakrishnan --- tile_generator/opsmgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile_generator/opsmgr.py b/tile_generator/opsmgr.py index 9c1e281..317caf8 100644 --- a/tile_generator/opsmgr.py +++ b/tile_generator/opsmgr.py @@ -408,7 +408,7 @@ def configure(product, properties, strict=False, skip_validation=False, network= else: raise Exception("Cannot find cf stemcell to use") print('- Using stemcell id', stemcell) - product_settings['stemcell_ids'] = stemcell + product_settings['stemcell_ids'][0] = stemcell post_yaml('/api/installation_settings', 'installation[file]', settings) # # Use the first availability zone (skip this for Azure, which doesn't use them)