Re: [PATCH rhel6-branch] (take II) Fix default of network --device option to match rhel5 (#647462).

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

 



> diff --git a/network.py b/network.py
> index 5b1ebb9..cf1d5e9 100644
> --- a/network.py
> +++ b/network.py
> @@ -365,15 +365,22 @@ class Network:
>  
>          ksdevice = flags.cmdline.get('ksdevice', None)
>          if ksdevice:
> +            if ksdevice == 'bootif':
> +                bootif_mac = ":".join(flags.cmdline.get('BOOTIF')[3:].split("-")).upper()

ACK, but if you wanted to be less fancy, you could:

bootif_mac = flags.cmdline.get("BOOTIF")[3:].replace("-", ":").upper()

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux