2023-05-05 05:43:13 |
Andrew Bobulsky |
description |
os-net-config walks the submitted yaml file to build out an inteface config file in /etc/sysconfig/network-scripts. Code for this can be seen here: https://github.com/openstack/os-net-config/blob/29028c14d71a5dc8f8b296ba1596757ade1255b6/os_net_config/impl_ifcfg.py#L435C1-L438
I think that os-net-config should support writing `ZONE=name` to these files. At present, this is not supported, and I do not see any mechanism for writing arbitrary keys with os-net-config either.
At present, every time I run os-net-config, I lose all of my firewalld zone assignments because these files are regenerated without their ZONE keys. |
os-net-config walks the submitted yaml file to build out an inteface config file in /etc/sysconfig/network-scripts. Code for this can be seen here: https://github.com/openstack/os-net-config/blob/29028c14d71a5dc8f8b296ba1596757ade1255b6/os_net_config/impl_ifcfg.py#L435C1-L438
Every time I run os-net-config, I lose all of my firewalld zone assignments because these files are regenerated without their ZONE keys.
Please extend os-net-config to support writing `ZONE=name` to these files, or add a mechanism for writing arbitrary k/v pairs to interface config files via the config yaml. |
|