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

Re: [PATCH 7/8] Install dracut-network when using network storage



Looks OK. Martin
----- "Hans de Goede" <hdegoede redhat com> wrote:

> Install dracut-network when using network storage, so that we will be
> capable of booting of network storage.
> ---
>  storage/devices.py |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/storage/devices.py b/storage/devices.py
> index ba0646b..fa34d91 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -2897,7 +2897,7 @@ class DirectoryDevice(FileDevice):
>  class iScsiDiskDevice(DiskDevice, NetworkStorageDevice):
>      """ An iSCSI disk. """
>      _type = "iscsi"
> -    _packages = ["iscsi-initiator-utils"]
> +    _packages = ["iscsi-initiator-utils", "dracut-network"]
>  
>      def __init__(self, device, **kwargs):
>          self.node = kwargs.pop("node")
> @@ -2929,7 +2929,7 @@ class iScsiDiskDevice(DiskDevice,
> NetworkStorageDevice):
>  class FcoeDiskDevice(DiskDevice, NetworkStorageDevice):
>      """ An FCoE disk. """
>      _type = "fcoe"
> -    _packages = ["fcoe-utils"]
> +    _packages = ["fcoe-utils", "dracut-network"]
>  
>      def __init__(self, device, **kwargs):
>          self.nic = kwargs.pop("nic")
> @@ -3035,6 +3035,7 @@ class DASDDevice(DiskDevice):
>  class NFSDevice(StorageDevice, NetworkStorageDevice):
>      """ An NFS device """
>      _type = "nfs"
> +    _packages = ["dracut-network"]
>  
>      def __init__(self, device, format=None, parents=None):
>          # we could make host/ip, path, &c but will anything use it?
> -- 
> 1.6.4.2
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


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