Re: [PATCH] option for wpa wifi connection specification added

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

 



Chris,
could you please look at this patch and eventually push it to
pykickstart repo? Radek has pushed my patches for wpa wifi connections
that need this in pykickstart.

Vratislav Podzimek

On Wed, 2011-05-18 at 13:36 +0200, Vratislav Podzimek wrote:
> ---
>  pykickstart/commands/network.py |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/pykickstart/commands/network.py b/pykickstart/commands/network.py
> index ccfe7a7..dfb2ab9 100644
> --- a/pykickstart/commands/network.py
> +++ b/pykickstart/commands/network.py
> @@ -148,6 +148,7 @@ class F16_NetworkData(F8_NetworkData):
>          F8_NetworkData.__init__(self, *args, **kwargs)
>          self.activate = kwargs.get("activate", False)
>          self.nodefroute = kwargs.get("nodefroute", False)
> +        self.wpakey = kwargs.get("wpakey", "");
>  
>      def _getArgsAsStr(self):
>          retval = F8_NetworkData._getArgsAsStr(self)
> @@ -156,6 +157,8 @@ class F16_NetworkData(F8_NetworkData):
>              retval += " --activate"
>          if self.nodefroute:
>              retval += " --nodefroute"
> +        if self.wpakey != "":
> +            retval += "--wpakey=%s" % self.wpakey
>  
>          return retval
>  
> @@ -315,6 +318,7 @@ class F16_Network(F9_Network):
>                        default=False)
>          op.add_option("--nodefroute", dest="nodefroute", action="store_true",
>                        default=False)
> +        op.add_option("--wpakey", dest="wpakey", action="store", default="")
>          return op
>  
>  class RHEL4_Network(FC3_Network):


_______________________________________________
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