Re: [et-mgmt-tools] Released -- Cobbler 0.4.3 - kickstart path generation bug on import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Msquared wrote:
On Wed, Feb 28, 2007 at 05:46:25PM -0500, Michael DeHaan wrote:

Cobbler 0.4.3

Bug in import, producing kickstart tree.  eg:

  cobbler --import --mirror=root@localhost:/media/cdrom/ --mirror-name=fedora6

produces (among the rest of the output)

  *** KICKSTART TREE = tree=http://134.115.xxx.xxx//ks_mirror/fedora6

which should probably read

  *** KICKSTART TREE = tree=http://134.115.xxx.xxx/cobbler/ks_mirror/fedora6

Regards, Msquared...

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

The fix is ...

diff -r a988cddaa21f176464480efa8b99370ed89b8d76 cobbler/action_import.py
--- a/cobbler/action_import.py Wed Feb 28 18:29:30 2007 -0500
+++ b/cobbler/action_import.py Fri Mar 02 10:49:40 2007 -0500
@@ -185,7 +185,7 @@ class Importer:
tokens = tokens[:-2]
base = "/".join(tokens)
base = base.replace(self.settings.webdir,"")
- tree = "tree=http://%s/%s"; % (self.settings.server, base)
+ tree = "tree=http://%s/cobbler_track/%s"; % (self.settings.server, base)
print "*** KICKSTART TREE = %s" % tree
profile.set_ksmeta(tree)
self.serialize_counter = self.serialize_counter + 1

Thanks!

The "cobbler_track" URL is used here instead of just "cobbler" because some of the kickstart tracking bits know how to pay attention to "cobbler_track" URLs. They don't read log regular cobbler URL's to cut down on noise.

--Michael


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux