[PATCH] Fix sshd bringup when also using a kickstart file (#863441)
Jesse Keating
jkeating at redhat.com
Tue Oct 9 03:48:27 UTC 2012
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:
--
1.7.11.4
More information about the anaconda-patches
mailing list