Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more dns options to network settings #1330

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

jcronenberg
Copy link
Contributor

@jcronenberg jcronenberg commented Jun 13, 2024

Problem

Network model is missing DNS search domains and ignore auto DNS toggle.

Solution

Add to network settings

Testing

  • Added to existing test
  • Tested manually
  • Tested with the wicked migration

@jcronenberg jcronenberg changed the title Add more dns options Add more dns options to network model Jun 13, 2024
@coveralls
Copy link

Coverage Status

coverage: 70.909% (+0.03%) from 70.875%
when pulling f66a68d on jcronenberg:more_dns_options
into 3df8883 on openSUSE:master.

@coveralls
Copy link

Coverage Status

coverage: 70.909% (+0.03%) from 70.875%
when pulling f66a68d on jcronenberg:more_dns_options
into 3df8883 on openSUSE:master.

@@ -704,6 +736,10 @@ fn ip_config_from_dbus(conn: &OwnedNestedHash) -> Option<IpConfig> {
}
}

// ensure only unique entries in dns_searchlist
ip_config.dns_searchlist.sort();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's a list, not a set, so this would defeat the user supplied ordering

@coveralls
Copy link

Coverage Status

coverage: 70.895% (+0.02%) from 70.879%
when pulling 2a403de on jcronenberg:more_dns_options
into c516de3 on openSUSE:master.

@coveralls
Copy link

Coverage Status

coverage: 70.936% (+0.02%) from 70.918%
when pulling 4513100 on jcronenberg:more_dns_options
into 7b4db54 on openSUSE:master.

@coveralls
Copy link

Coverage Status

coverage: 70.917% (-0.03%) from 70.945%
when pulling b8fd85a on jcronenberg:more_dns_options
into 7f641e4 on openSUSE:master.

@jcronenberg jcronenberg changed the title Add more dns options to network model Add more dns options to network settings Jul 17, 2024
Copy link
Contributor

@teclator teclator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teclator teclator merged commit 9f008eb into agama-project:master Jul 17, 2024
1 check passed
@jcronenberg jcronenberg deleted the more_dns_options branch July 17, 2024 13:24
@imobachgs imobachgs mentioned this pull request Sep 20, 2024
imobachgs added a commit that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants