[PATCH] Fix sshd bringup when also using a kickstart file (#863441)
Vratislav Podzimek
vpodzime at redhat.com
Tue Oct 9 08:16:42 UTC 2012
On Mon, 2012-10-08 at 20:48 -0700, Jesse Keating wrote:
> users.Users() no longer takes an argument, so don't try to pass one.
> ---
> utils/handle-sshpw | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/utils/handle-sshpw b/utils/handle-sshpw
> index 4b14208..f320153 100755
> --- a/utils/handle-sshpw
> +++ b/utils/handle-sshpw
> @@ -41,8 +41,7 @@ ksparser.readKickstart(ksfile)
> # sshpw, but after that we start sshd, we need one that points to the
> # install target.
> luserConf = users.createLuserConf(instPath="")
> -# Pass a fake anaconda object in because it won't be needed
> -u = users.Users(None)
> +u = users.Users()
>
> userdata = ksparser.handler.sshpw.dataList()
> for ud in userdata:
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list