Re: [PATCH 3/4] Do not traceback when writing anaconda.ks with iscsi with auth info.

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

 



OK. MArtin

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

> ---
>  storage/iscsi.py |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/storage/iscsi.py b/storage/iscsi.py
> index 11d3656..7c42517 100644
> --- a/storage/iscsi.py
> +++ b/storage/iscsi.py
> @@ -263,11 +263,11 @@ class iscsi(object):
>              f.write("iscsi --ipaddr %s --port %s" %(n.address,
> n.port))
>              auth = n.getAuth()
>              if auth:
> -                f.write(" --user %s" %(n.username,))
> -                f.write(" --password %s" %(n.password,))
> +                f.write(" --user %s" % auth.username)
> +                f.write(" --password %s" % auth.password)
>                  if len(auth.reverse_username):
> -                    f.write(" --reverse-user %s" %
> (n.reverse_username,))
> -                    f.write(" --reverse-password %s" %
> (n.reverse_password,))
> +                    f.write(" --reverse-user %s" %
> auth.reverse_username)
> +                    f.write(" --reverse-password %s" %
> auth.reverse_password)
>              f.write("\n")
>  
>      def write(self, instPath, anaconda):
> -- 
> 1.6.1.3
> 
> _______________________________________________
> 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