Commit 49cfb700 by Michael DeHaan

Merge pull request #4498 from jurrienbloemen/devel

Added full path to rhnreg_ks command for working correctly with sudo.
parents c1999465 55062c69
......@@ -262,7 +262,7 @@ class Rhn(RegistrationBase):
Register system to RHN. If enable_eus=True, extended update
support will be requested.
'''
register_cmd = "rhnreg_ks --username '%s' --password '%s' --force" % (self.username, self.password)
register_cmd = "/usr/sbin/rhnreg_ks --username '%s' --password '%s' --force" % (self.username, self.password)
if enable_eus:
register_cmd += " --use-eus-channel"
if activationkey is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment