Merge pull request #4498 from jurrienbloemen/devel

Added full path to rhnreg_ks command for working correctly with sudo.
pull/3610/merge
Michael DeHaan 11 years ago
commit 49cfb7007f

@ -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:

Loading…
Cancel
Save