Merge "Fix convert_nic_config.py script"

This commit is contained in:
Zuul 2020-11-19 00:18:36 +00:00 committed by Gerrit Code Review
commit 8d9871d01c
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'] = {}