diff options
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | cobbler/action_enchant.py | 4 |
2 files changed, 10 insertions, 3 deletions
@@ -6,7 +6,12 @@ cobbler TODO list - Locking - For "enchant", try to verify that syslinux and mkinitrd are installed on the remote. - "make test" shouldn't overwrite files in /var/lib/cobbler/ - -Non functional: + - "enchant" would be better if it didn't need to know the password + - "enchant" has issues with ssh key changes locking it out + - "enchant" should be written in a more distro-agnostic way. + - "add" should be distinguished from "edit" so as to not overwrite + new configs. + +general cleanup: - an argument parsing overhaul is probably due - remove the cobbler_msg logic since i18n isn't likely 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 |