7bbef9e Fix ksdevice=<MAC> - instead of renaming the device to ksdev0 just use it

Authored and Committed by rvykydal 11 years ago
    Fix ksdevice=<MAC> - instead of renaming the device to ksdev0 just use it
    
    ksdevice option doesn't work in f17 and f18.
    
    It used to specify which network device to activate in early stage of
    installation, eg. to fetch kickstart or installation image.
    
    In F17 and F18 the device should be specified by dracut option ip=
    
    Mapping of ksdevice options from loader to dracut options used in
    F17 and F18:
    
    - ksdevice missing (and network is required)
    loader: user was asked in UI in case of more devices present
    dracut: activates all devices if not specified
    
    - ksdevice=eth0
    loader: eth0 is activated
    dracut: specify device in ip=, eg
            ip=eth0:dhcp
            ip=10.34.39.44::10.34.39.254:255.255.255.0::eth0:none
    
    - ksdevice=00:12:34:56:78:9a
    loader: device with MAC address is activated
    dracut: We translate it to ifname=ksdev0:00:12:34:56:78:9a which renames
            the device.
            It is possible to use BOOTIF=00-12-34-56-78-9a, which this patch
            does.
    
    - ksdevice=link
    loader: first device with link found is activated
    dracut: all devices with link are activated
            (default dracut behaviour for not specified device)
    
    - ksdevice=ibft
    loader: activate devcie configrued in iBFT
    dracut: use ip=ibft option
    
        
file modified
+18 -4