mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added full path to rhnreg_ks command for working correctly with sudo.
This commit is contained in:
parent
c1999465af
commit
55062c69d6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue