mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
When applying with `dhcp4: "no"` or `auto6: "no"`, we get incorrect change indication even when network connection was not changed. The root cause is the `NM.SettingIPConfig.clear_dns_options(True)` will create an empty list which will be discard by ifcfg plugin. The follow up `NM.Connection.compare()` will show configuration changed as dns option entry missing. Fixed by remove dns option completely before appending. Signed-off-by: Gris Ge <fge@redhat.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| network_connections.py | ||