Browse Source

Fix convert_nic_config.py script

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

Change-Id: I7acaa9e6b9d95b067b9fb1be4f5890aeee68742c
changes/25/763125/1
Rabi Mishra 9 months ago
parent
commit
ddec6c8b65
  1. 3
      tools/convert_nic_config.py

3
tools/convert_nic_config.py

@ -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'] = {}

Loading…
Cancel
Save