diff options
Diffstat (limited to 'cobbler/action_enchant.py')
-rw-r--r-- | cobbler/action_enchant.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cobbler/action_enchant.py b/cobbler/action_enchant.py index 0cd72d7..830b0e3 100644 --- a/cobbler/action_enchant.py +++ b/cobbler/action_enchant.py @@ -59,7 +59,9 @@ class Enchant: raise cexceptions.CobblerException("enchant_failed","SSH login denied") else: self.call("wget http://%s/cobbler/%s" % (self.settings.server, koan)) - self.call("rpm -Uvh %s --force" % koan) + # nodeps allows installation on Centos 4 with python 2.3 + # RHEL4 won't work due to urlgrabber + self.call("rpm -Uvh %s --force --nodeps" % koan) self.call("koan --replace-self --profile=%s --server=%s" % (self.profile, self.settings.server)) self.call("/sbin/reboot") return True |