Description of problem:
When applying empty state, the nmstate will move the DNS config to the default gateway interface instead of preserving old DNS config savings.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use nmcli to save a DNS entry in a non-default gateway interface.
2. Create `empty.yml` with below content:
3. sudo nmstatectl set empty.yml
The DNS config moved to the interface with default gateway.
The old DNS config been preserved.
Upstream fix is a87f03dc7b8377340da9c20b82344bbf9d1933c0
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.