forked from openSUSE/dracut
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dracut-functions: add ip_params_for_remote_addr() helper
This helper function takes a remote IP address, and tries to determine the dracut command line arguments ip= and ifname= that will make this remote address reachable during boot. Functionality was taken from the module-setup.sh scripts of 95iscsi and 95nfs, cleaned up and fixed some issues in particular with statically configured networks, where the old code would print the unsupported string "$ifname:static".
- Loading branch information
Showing
1 changed file
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters