[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Feedback regarding "Allow selecting boot eth dev by MAC address"




On 2015年08月19日 23:52, Daniel Baumann wrote:
> On 08/19/2015 05:26 PM, Daniel Baumann wrote:
>> i'll have to think about how to handle these things
>> and make it more generic (by also introducing alternative mechanisms to
>> select the "right" network device, not just the mac).
> 
> i think we could follow the systemd namespace here.. some examples:
> 
>   * matching a netdev by name
>     this would select the second onboard network device to be used:
> 
>     live-boot.netdev-match.name=eno2
> 
>   * matching a netdev by mac address
>     this would select the network device that has a given mac address:
> 
>     live-boot.netdev-match.macaddress=aa:bb:cc:dd:ee:ff
> 
>   * matching a netdev by a certain ip address (or subnet)
>     if there are multiple interfaces, and they have all dhcp or a
>     preconfigured static address inside the image, then
>     select the first one that is in the given subnet (or has a
>     given address):
> 
>     live-boot.netdev-match.address=196.168.0.0/24
> 
> or something like that..
The above features are very cool. I look forward to having that in the
live-boot package.
Thanks.

Steven.
> 
> Regards,
> Daniel
> 

-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/47CF935C
Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C


Reply to: