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

NetworkAutoconfiguration#setup_dchp: Ensure network configuration is read before dealing with it #1005

Merged
merged 2 commits into from Nov 21, 2019

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Nov 21, 2019

Problem

While the installation dhcp setup client do more checks and configuration, the firstboot client calls directly the Yast::NetworkAutoconfiguration.instace.setup_dhcpmethod (see) which has been modified recently (#997).

We basically moved the read of the configuration to another method.

https://github.com/yast/yast-network/pull/997/files#diff-fd690548c8d9ccc25675e4b0e82a0b49L52

Solution

Just add back the read of the configuration ensuring it has been read before checking it.

@teclator teclator changed the title Ensure lan read NetworkAutoconfiguration: Ensure network configuration is read before dealing with it Nov 21, 2019
@teclator teclator changed the title NetworkAutoconfiguration: Ensure network configuration is read before dealing with it NetworkAutoconfiguration (setup_dchp): Ensure network configuration is read before dealing with it Nov 21, 2019
@teclator teclator changed the title NetworkAutoconfiguration (setup_dchp): Ensure network configuration is read before dealing with it NetworkAutoconfiguration#setup_dchp: Ensure network configuration is read before dealing with it Nov 21, 2019
@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 65.344% when pulling 80ce3dc on ensure_lan_read into dbb39c0 on master.

Copy link
Member

@mchf mchf 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 8bb952c into master Nov 21, 2019
@teclator teclator deleted the ensure_lan_read branch November 21, 2019 11:16
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #100 successfully finished
✔️ Created OBS submit request #750086

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #30 successfully finished
✔️ Created IBS submit request #205858

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

4 participants