Re: rhel5-branch [PATCH 2/2] Let LCS devices come online after s390 installation (#471101)

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

 



If there is no other type of device with subchannels that needs the ARP
set to 'no' (besides 'qeth'), it looks good.
On Fri, Feb 20, 2009 at 05:00:39PM -1000, David Cantrell wrote:
> For LCS device types, so ones where we have subchannels and the
> device type is 'qeth', write out ARP=no in the ifcfg file.  If
> we don't do that, the LCS devices won't come online after
> installation.
> ---
>  loader2/net.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/loader2/net.c b/loader2/net.c
> index e595b59..ae6a2c1 100644
> --- a/loader2/net.c
> +++ b/loader2/net.c
> @@ -1850,7 +1850,7 @@ int writeNetInfo(const char * fn, struct networkDeviceConfig * dev) {
>  
>      if (dev->layer2 && !strcmp(dev->layer2, "1"))
>  	strcat(osa_opts, "layer2=1");
> -    else if (dev->subchannels)
> +    else if (dev->subchannels && !strcmp(dev->nettype, "qeth"))
>  	fprintf(f, "ARP=no\n");
>      if (dev->portno && !strcmp(dev->portno, "1")) {
>  	if (strlen(osa_opts) != 0) {
> -- 
> 1.6.1.3
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.

_______________________________________________
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