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

Added a method to only write the yast Y2Network::Config #1088

Merged
merged 4 commits into from Jul 17, 2020

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Jul 16, 2020

Problem

Firstboot used to call DNS.Write in order to apply hostname changes but it does not write hostname anymore.

Solution

Added a method to write only Yast::Lan.yast_config changes and update the current system_config without touching other components.

Test

  • Added unit test and tested manually

@coveralls
Copy link

coveralls commented Jul 16, 2020

Coverage Status

Coverage increased (+0.05%) to 71.426% when pulling 15b5c2d on expose_write_config into ccdc057 on SLE-15-SP2.

src/modules/Lan.rb Outdated Show resolved Hide resolved
src/modules/Lan.rb Outdated Show resolved Hide resolved
@teclator teclator merged commit f72ef51 into SLE-15-SP2 Jul 17, 2020
@teclator teclator deleted the expose_write_config branch July 17, 2020 08:35
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.

None yet

3 participants