iPXE discussion forum

Full Version: Tool for user selection of interface
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I feel missing some useful tool like others (ifstat, lspci, etc): ifsel.
The idea is to print to the user the list of the detected interfaces and wait until s/he selects one to continue. This can be very useful for scripts. Then when starting inside a multi-nic device the user can select the prefered interface. Without this tool, the first interface with link will be used, but this can generate some troubles.

Please, consider this enhancement.
Regards.
there is already scripts written that does this for you
For example here: https://gist.github.com/robinsmidsrod/3871687
Reference URL's