diff options
author | Chris Lumens <clumens@redhat.com> | 2010-10-22 14:36:11 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-10-22 16:01:41 -0400 |
commit | 0b4565e1fe8932104d1437249c71ee4bc6539fd6 (patch) | |
tree | 8f0834a5ab30d9595da53caf4fe6099845e83a1b /anaconda | |
parent | 583753d650f5e44a8581fefc0380ebbca77d1cf4 (diff) | |
download | anaconda-0b4565e1fe8932104d1437249c71ee4bc6539fd6.tar.gz anaconda-0b4565e1fe8932104d1437249c71ee4bc6539fd6.tar.xz anaconda-0b4565e1fe8932104d1437249c71ee4bc6539fd6.zip |
Don't hardcode the sshd location, either.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -450,8 +450,9 @@ def startSsh(): } for (algorithm, keyfile) in ssh_keys.items(): createSshKey(algorithm, keyfile) - args = ["/sbin/sshd", "-f", "/etc/ssh/sshd_config.anaconda"] - os.execv("/sbin/sshd", args) + sshd = iutil.find_program_in_path("sshd") + args = [sshd, "-f", "/etc/ssh/sshd_config.anaconda"] + os.execv(sshd, args) sys.exit(1) def startDebugger(signum, frame): |