On setting net_config_override parameter, the undercloud uses a JSON or YAML format template to configure the networking with os-net-config and ignores the network parameters set in undercloud.conf. We can this parameter when you want to configure bonding or add an option to the interface.
But currently, the net_config_override is only working when a JSON file is passed and doesn't work for YAML.
Version-Release number of selected component (if applicable):
Red Hat OpenStack Platform - 16.1
Steps to reproduce
1. Deploy undercloud with net_config_override set
2. Pass a yaml file as input instead of JSON
Expect the undercloud_config to read the yaml file passed
Yaml file is not read, the code runs into errors