summaryrefslogtreecommitdiffstats
path: root/utils/handle-sshpw
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2012-10-08 20:46:59 -0700
committerJesse Keating <jkeating@redhat.com>2012-10-09 10:41:55 -0700
commit4e6c3422c047d3f6c8bc5ea271ec8805e755b569 (patch)
tree6519cfb1b1559e78c621f968f2ad3a34cc44b501 /utils/handle-sshpw
parent7747f07b8d45e67a655c398c95277ac595688093 (diff)
downloadanaconda-4e6c3422c047d3f6c8bc5ea271ec8805e755b569.tar.gz
anaconda-4e6c3422c047d3f6c8bc5ea271ec8805e755b569.tar.xz
anaconda-4e6c3422c047d3f6c8bc5ea271ec8805e755b569.zip
Fix sshd bringup when also using a kickstart file (#863441)
users.Users() no longer takes an argument, so don't try to pass one.
Diffstat (limited to 'utils/handle-sshpw')
-rwxr-xr-xutils/handle-sshpw3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/handle-sshpw b/utils/handle-sshpw
index 4b14208fc..f3201530a 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: