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

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



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


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