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

Option to wait for DHCP and fail without netifs #47

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

skuenzer
Copy link
Member

@skuenzer skuenzer commented Feb 5, 2024

This PR adds two configuration options that let Unikraft to wait for DHCP responses and/or fail the boot without networking interface.

This commit introduces the option to fail booting if no network
interface was found and can be used by lwip.

Signed-off-by: Simon Kuenzer <simon@unikraft.io>
This commit introduces an configuration option to wait for the
first network interface to be configured by DHCP. In case one
interface is configured with a static IP, the sytem will
immediately continue booting.

Signed-off-by: Simon Kuenzer <simon@unikraft.io>
@skuenzer skuenzer added this to the v0.17.0 (Calypso) milestone Feb 5, 2024
@razvand razvand self-assigned this Feb 5, 2024
Copy link

@andreistan26 andreistan26 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

Reviewed-by: Andrei Stan andreistan2003@gmail.com

@razvand razvand added the enhancement New feature or request label Feb 9, 2024
Copy link
Contributor

@razvand razvand left a comment

Choose a reason for hiding this comment

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

Reviewed-by: Razvan Deaconescu razvand@unikraft.io
Approved-by: Razvan Deaconescu razvand@unikraft.io

@razvand razvand changed the base branch from staging to staging-47 February 9, 2024 20:31
@razvand razvand merged commit c867091 into unikraft:staging-47 Feb 9, 2024
razvand pushed a commit that referenced this pull request Feb 9, 2024
This commit introduces the option to fail booting if no network
interface was found and can be used by lwip.

Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #47
razvand pushed a commit that referenced this pull request Feb 9, 2024
This commit introduces an configuration option to wait for the
first network interface to be configured by DHCP. In case one
interface is configured with a static IP, the sytem will
immediately continue booting.

Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants