[PATCH] a few fixes
by James Cammarata
Pushed to my github:
commit 257ef06364e224bc2af9edafb28449b0d2784521
Author: James Cammarata <jimi(a)sngx.net>
Date: Thu Jun 30 17:19:47 2011 -0500
Setting TIME_ZONE to None in web/settings.py causes a 500 error on a
RHEL5 system with python 2.4 and django 1.1. Commenting out the config
line has the same effect as setting it to None, and prevents the 500.
commit 92467ef117a730bc2ab74ac84e29056c4c28c3f8
Author: James Cammarata <jimi(a)sngx.net>
Date: Thu Jun 30 17:18:44 2011 -0500
Fixes for importing RHEL6:
* path_tail() was previously moved to utils, a couple
places in the import modules still used self.path_tail
instead of utils.path_tail, causing a stack dump
* Fixed an issue in utils.path_tail(), which was using self.
still from when it was a member of the import class
* When mirror name was set on import and using --available-as,
it was appending a lot of junk instead of just using the specified
mirror name
Not sure if those last ones were RHEL6 specific - I ran into it
because I was doing an --available-as during an import, which blew up
quite badly. Overall it fixes a few things that I missed when i did
the import module changes, though I'm sure there are more like it.
12 years, 9 months
Fwd: [Design-team] Logo request for Cobbler. Any takers?
by Greg Swift
we have a taker.
yay buddhike!
---------- Forwarded message ----------
From: Buddhika Kurera <bckurera(a)fedoraproject.org>
Date: Tue, Jun 28, 2011 at 20:55
Subject: Re: [Design-team] Logo request for Cobbler. Any takers?
To: Fedora Design Team <design-team(a)lists.fedoraproject.org>
Hi,
As per the wikipedia the cobbler refers to A shoemaker who repairs
shoes, rather than manufacturing them.
Therefore we can use a shoe, hammer and nails and create a nice logo.
Will try and work on this.
And I accepted the ticket #184.
thanks for images and ideas, will submit a design ASAP.
On Wed, Jun 29, 2011 at 1:51 AM, seth seth <chaoticseth(a)gmail.com> wrote:
>
>
> Anyone wish to take up a logo request for Cobbler? If anyone is, I can give you a hand in the drawing part while you could just digitally color it.
>>
>> Link to the ticket: https://fedorahosted.org/design-team/ticket/184
>>
>> Description
>>
>> http://fedorahosted.org/cobbler
>>
>> We've recently been working on a web ui refresh for cobbler, and one of the things that was discussed was the lack of a favicon. Historically cobbler has just utilized its name as the logo:
>>
>> https://fedorahosted.org/cobbler/attachment/wiki/UserDocs/logo.png?format... http://git.fedorahosted.org/git/?p=cobbler;a=blob_plain;f=web/content/log...
>>
>> It would be kind of kewl to have a logo to go with the refresh and to move forward with. As cobbler doesn't have a GUI other than the web interface the primary spots of the logo would be the favicon and inline on the web page. Currently the logo for the applications web interface is ~180x80px, but we aren't tied to any target size in particular.
>>
>> The main thoughts on content would be something shoe related. We though just an unfinished shoe as one possibility, and another was a shoe on one of those stands with a hammer laying next to it. Not necessarily like this image, but it shows the stand I mean:
>>
>> http://dir.coolclips.com/Business/Retail/Garment_Manufacturing/Cobbler_an...
>>
>> However, we aren't the artistic ones, so are open to suggestion.
>>
>>
>>
>>
>
>
> _______________________________________________
> design-team mailing list
> design-team(a)lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/design-team
--
Regards,
Buddhike Chandradeepa Kurera
The Editor in Chief - FOSS User Magazine
Fedora Ambassador - Sri Lanka
Email: bckurera@fossuser.lk | Phone: (+94)-077-700-7521 | Skype:
buddhikakurera | Fax: (+1)-206-337-5363
_______________________________________________
design-team mailing list
design-team(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/design-team
12 years, 10 months
[PATCH] Set the tftpboot location for rhel6
by Jonathan Sabo
Set the tftpboot location for rhel6
---
cobbler/utils.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cobbler/utils.py b/cobbler/utils.py
index 6e7d93b..0c368e5 100644
--- a/cobbler/utils.py
+++ b/cobbler/utils.py
@@ -1043,6 +1043,8 @@ def tftpboot_location():
(make,version) = os_release()
if make == "fedora" and version >= 9:
return "/var/lib/tftpboot"
+ elif make == "redhat" and version >= 6:
+ return "/var/lib/tftpboot"
elif make == "debian" or make == "ubuntu":
return "/var/lib/tftpboot"
return "/tftpboot"
--
1.7.4.1
12 years, 10 months
[PATCH] multiple changes in generate_netboot_iso in actio_buildiso.py
by Jörgen Maas
Hi,
Some changes in the generate_netboot_iso function/code:
- Users had to supply all system names on the commandline which they
wanted to include in the ISO boot menu. This patch changes that
behaviour; all systems are included by default now. You can still
provide an override with the --systems parameter, thus making this
feature more consistent with what one might expect from reading the
help.
- While at it I tried to make the code more readable and removed some
unneeded iterations.
- Prevent some unneeded kernel/initrd copies.
- You can now override ip/netmask/gateway/dns parameters with
corresponding kernel_options.
- Fixed a bug for SuSE systems where ksdevice should be netdevice.
- If no ksdevice/netdevice (or equivalent) has been supplied via
kernel_options try to guess the proper interface to use, but don't
just use one if we can't be sure about it (e.g. for multihomed
systems).
https://github.com/jmaas/cobbler/commit/9191c7f30ffbac0292b36a7b45e34ce22...
Grtz,
Jörgen Maas
12 years, 10 months
Pull request: tftpd.py
by Douglas Kilpatrick
I got a bug report from Jonathan Sabo: a new cobbler host set up to use
the python tftp server wasn't working. The bootloaders were never
getting copied into place by sync.
So I fixed that (added the relevant code to the tftpd module's sync
method). Changes pushed to
https://github.com/kilpatds/cobbler/commits/master
Doug
--
Doug Kilpatrick
kilpatds(a)oppositelock.org
12 years, 10 months
[PATCH] Fix get_rootdir() for esx importing
by Jonathan Sabo
When importing esx the distro in the links dir was getting symlinked
to the mount point of the mounted iso. We fixed this in the redhat
importer awhile ago but didn't do it for the esx importer. Patch is
based on the git master.
Thanks,
Jonathan
12 years, 10 months
[PATCH] Fix cobbler replication for non-RHEL hosts. The slicing used in the link_distro function didn't work for all distros.
by Jonathan Sabo
I noticed that the symlinks in the links dir for ESX hosts being
replicated were linking to /var/www/cobbler/ks_mirror instead of the
distro. The link_distro function in utils.py does this:
dirname = os.path.dirname(distro.kernel)
base = os.path.split(os.path.split(dirname)[0])[0]
dest_link = os.path.join(settings.webdir, "links", distro.name)
VMware Kernel : /var/www/cobbler/ks_mirror/esx-4.1-x86_64/isolinux/vmlinuz
RHEL Kernel : /var/www/cobbler/ks_mirror/rhel6.1-x86_64/images/pxeboot/vmlinuz
>>> import os
>>> dirname = os.path.dirname("/var/www/cobbler/ks_mirror/rhel6.1-x86_64/images/pxeboot/vmlinuz")
>>> base = os.path.split(os.path.split(dirname)[0])[0]
>>> print base
/var/www/cobbler/ks_mirror/rhel6.1-x86_64
>>> dirname = os.path.dirname("/var/www/cobbler/ks_mirror/esx-4.1-x86_64/isolinux/vmlinuz")
>>> base = os.path.split(os.path.split(dirname)[0])[0]
>>> print base
/var/www/cobbler/ks_mirror
>>>
This patch should hopefully make it work for all distros.
Thanks,
Jonathan
12 years, 10 months
my work on the web ui
by Greg Swift
So you can follow along here:
https://github.com/gregswift/cobbler.git
or
git://github.com/gregswift/cobbler.git
So far I've only applied a few more cleanup patches aside from all of the
stuph i posted to the list yesterday.
So.. James and I have had a few short conversations about his plans for
cleaning up the web ui of cobbler... He'd already been thinking about and
planning it and I just decided to help. I threw together those mockups from
last weekend, and the few responses seem to have been positive.
i'm not really trying to change actual functionality right now, I'm just
trying to help bring the interface towards his goal of more standard
html+css. so i'm picking up little pieces, and the big bit i'm doing is
restructuring the html away from tables and fieldsets towards divs. Except
for tabular data... tabular data should still be tables. The closest to a
functional change I was looking at was the drop down action list on left
hand side.. and i'm holding off on that for a bit. Occasionally, i am
throwing in a slight change for the sake of consistency and such. I'll
gladly make a note and explain those changes.
Along the way i've found a few little artifacts floating around and have
been submitting patches for those, because they are actually things that
should be fixed regardless of how the re-write work comes along.
12 years, 10 months