summaryrefslogtreecommitdiffstats
path: root/cobbler/action_enchant.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-10-11 17:56:43 -0400
committerJim Meyering <jim@meyering.net>2006-10-11 17:56:43 -0400
commitd496b2b75dc3bb80b85deac10125450073e4fee7 (patch)
tree6f262b6c69ae71c3d227b69fb033b88a0c3d51a4 /cobbler/action_enchant.py
parente8af1d70cdc5b84478d22f177da400e676f3e751 (diff)
downloadthird_party-cobbler-d496b2b75dc3bb80b85deac10125450073e4fee7.tar.gz
third_party-cobbler-d496b2b75dc3bb80b85deac10125450073e4fee7.tar.xz
third_party-cobbler-d496b2b75dc3bb80b85deac10125450073e4fee7.zip
updated TODO
Diffstat (limited to 'cobbler/action_enchant.py')
-rw-r--r--cobbler/action_enchant.py4
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