Skip to content

Add more dns options to network settings#1330

Merged
teclator merged 4 commits intoagama-project:masterfrom
jcronenberg:more_dns_options
Jul 17, 2024
Merged

Add more dns options to network settings#1330
teclator merged 4 commits intoagama-project:masterfrom
jcronenberg:more_dns_options

Conversation

@jcronenberg
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

Coverage Status

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

}

// ensure only unique entries in dns_searchlist
ip_config.dns_searchlist.sort();
Copy link
Copy Markdown
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
Copy Markdown

Coverage Status

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

@jcronenberg jcronenberg requested a review from mvidner June 19, 2024 11:58
@coveralls
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
@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