Re: [PATCH 4/8] write netroot=fcoe:... to kernel cmdline in grub.conf for dracut

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

 



Looks good. Martin

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

> ---
>  storage/devices.py |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/storage/devices.py b/storage/devices.py
> index a8c350a..ba0646b 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -2938,6 +2938,9 @@ class FcoeDiskDevice(DiskDevice,
> NetworkStorageDevice):
>          NetworkStorageDevice.__init__(self, nic=self.nic)
>          log.debug("created new fcoe disk %s @ %s" % (device,
> self.nic))
>  
> +    def dracutSetupString(self):
> +        return "netroot=fcoe:%s:nodcb" % self.nic
> +
>  
>  class OpticalDevice(StorageDevice):
>      """ An optical drive, eg: cdrom, dvd+r, &c.
> -- 
> 1.6.4.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