Fix convert_nic_config.py script

Use 'value' property of the OS::Heat::Value resource instead.

Change-Id: I7acaa9e6b9d95b067b9fb1be4f5890aeee68742c
This commit is contained in:
Rabi Mishra 2020-11-18 10:45:30 +05:30
parent 30d82541eb
commit ddec6c8b65
1 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,8 @@ def convert_to_heat_value_resource():
del net_config_res_props['group']
old_config = net_config_res_props['config']
new_config = old_config['str_replace']['params']['$network_config']
net_config_res_props['config'] = new_config
del net_config_res_props['config']
net_config_res_props['value'] = new_config
outputs = template['outputs']
del outputs['OS::stack_id']
outputs['config'] = {}