Re: [PATCH f16 beta NTH?] Default to an active network device after reboot on Fedora (ONBOOT) (#498207)

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

 



Why do you only want to do this in Fedora?

> diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py
> index 4c599d1..576481f 100644
> --- a/pyanaconda/installclass.py
> +++ b/pyanaconda/installclass.py
> @@ -211,6 +211,9 @@ class BaseInstallClass(object):
>  
>          return self.productMatches(oldprod) and self.versionMatches(oldver) and archesEq(arch, productArch)
>  
> +    def setNetworkOnbootDefault(self, network):
> +        """Default for autoactivation of network devices after reboot"""
> +
>      def __init__(self):
>  	pass
>  

This is okay as far as Python goes, but it looks weird to me.  Can you
toss a "pass" into setNetworkOnbootDefault?

- 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