Skip to content

kdump fix, initializing network interface on boot over 2023-11 release - #18794

Open
bilal-ismail wants to merge 1 commit into
sonic-net:202311from
bilal-ismail:custom_changes_kdump_config_2023_11
Open

bilal-ismail wants to merge 1 commit into
sonic-net:202311from
bilal-ismail:custom_changes_kdump_config_2023_11

Conversation

@bilal-ismail

Copy link
Copy Markdown

Why I did it

For pre-boot initialization of network interfaces.
For my case, I had to test and implement the remote kdump file transfer using SSH and the crash kernel did not load configs from /etc/network/interfaces config file.

How I did it

New file created for a custom script, "network-interface-preboot-init"
Modified the "build_debian.sh" file for adding this to the initramfs-tools/scripts/ directory.

How to verify it

After this change the remote SSH kdump file transfer would be possible because network not reachable issue arose as the default "vmliuz" image did not change state of the interfaces to "UP" on crash kernel load. Neither did it load configs from /etc/network/interfaces config file.

@bilal-ismail
bilal-ismail requested a review from lguohan as a code owner April 25, 2024 00:42
@bilal-ismail

Copy link
Copy Markdown
Author

This change is targeted to set/config pre-boot init network interface status to UP and enable DHCP for them.

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.

1 participant