Re: [PATCH] Startup iscsi / fcoe / zfcp before listing drives in the filter UI

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

 



Looks good.

Martin

----- "Hans de Goede" <hdegoede@xxxxxxxxxx> wrote:

> This brings iBFT (iscsi) / EDD (FCoE) / /tmp/zfcp.cfg (zfcp) auto
> discovered
> drives only. So that they show up in the filter UI and can be selected
> for
> the installation (tested with iBFT).
> ---
>  iw/filter_gui.py |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/iw/filter_gui.py b/iw/filter_gui.py
> index efdb5a4..7616b5d 100644
> --- a/iw/filter_gui.py
> +++ b/iw/filter_gui.py
> @@ -31,6 +31,9 @@ from constants import *
>  from iw_gui import *
>  from storage.udev import *
>  from storage.devicelibs.mpath import *
> +import storage.iscsi
> +import storage.fcoe
> +import storage.zfcp
>  
>  import gettext
>  _ = lambda x: gettext.ldgettext("anaconda", x)
> @@ -524,6 +527,12 @@ class FilterWindow(InstallWindow):
>                            self._makeSearch()]
>  
>          udev_trigger(subsystem="block")
> +        # So that drives onlined by these show up in the filter UI
> +        storage.iscsi.iscsi().startup(anaconda.intf)
> +        storage.fcoe.fcoe().startup(anaconda.intf)
> +        storage.zfcp.ZFCP().startup()
> +        # Note we do NOT call dasd.startup() here, that does not
> online drives,
> +        # but only checks if they need formatting.
>          disks = filter(udev_device_is_disk,
> udev_get_block_devices())
>          (singlepaths, mpaths, partitions) =
> identifyMultipaths(disks)
>  
> -- 
> 1.6.5.2
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
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