Alex Davies wrote:
> Hi All,
>
> I've been looking at Cobbler for some time, and i've finally had cause
> to use it to provision a relatively small number of machines (~50).
> Its an ace tool, and has worked really well. I've only just started
> looking into its more advanced features, and i'm already amazed!
>
> During the course of installing Cobbler, I found some paths at
> http://cobbler.et.redhat.com/cobbler-dhcp.php (at least incorrect on a
> RHEL5 machine). I'd have thought that RHEL5/FC6 would be the standard
> "stable" distribution to install Cobbler onto, so thought it might be
> worth updating the paragraph "Enabling DHCP Management" to read the
> following:
>
We've really moved all the Cobbler documentation over to
fedorahosted.org/cobbler, so if you see a Wiki page
that references it, please let me know where it is so we can keep it
updated. Similarly, let me know about
out of date docs if any on Fedora Hosted.
> "Change /etc/cobbler/settings so that manage_dhcp has the value of 1.
> Edit /etc/cobbler/cobbler/dhcp.template to taste -- mainly just making
> sure that the DHCP information is correct."
>
> I also wondered if it would be sensible to include the variations from
> the sample kickstarts that are required to kickstart RHEL{3,4,5}
> perhaps in comments inside sample.ks? I couldnt find it documented
> anywhere (i'm sure it is, but I ended up working this out by trial end
> error):
>
> For RHEL5
> # Add activation Keys - Otherwise hangs waiting for activation key
> key --skip
>
Some sort of RHEL detection and auto-adding this might be interesting,
though install keys are a bit ... complicated.
As some folks may wish to use install keys to make sure they don't
accidentally install packages they don't have support for,
this is why we do not include key --skip by default. There is a useful
snippet on the Wiki that says "include --skip if no key
in --ksmeta, if available, include the key instead". Coupled with some
detection of RHEL so it was only inserted /FOR/ RHEL,
this seems like a very reasonable thing to do. Please file an RFE for
this in Trac (open a ticket) at http://fedorahosted.org/cobbler so we
don't forget the idea. If you need an account, go to
https://admin.fedorahosted.org/accounts. Good idea, thanks!
> For RHEL4
> # Add System language - Otherwise hangs waiting for default language choice
> lang en_US.UTF-8
> langsupport --default=en_US.UTF-8 en_US.UTF-8
>
> For RHEL3:
> # Remove --onboot=on from the network line
> # Remove selinux --disabled
> # Add mouse:
> mouse genericps/2 --device psaux --emulthree
>
We could probably do similar keying off the names of the distros in some
sort of semi-psychic ways to do the same.
Very good idea.
It wouldn't work if the distro didn't say "RHEL-4" or "RHEL4" in the
name somewhere, probably, but it would be good
enough for most use cases. Import /does/ detect the type of the distro
(i.e. RHEL-4) so for future imports we can
be smarter about that kind of detection and include a function in there
to do that.
> I'll try to add some of this to the Wiki, but there doesent seem to be
> an obvious place - any suggestions?
>
"KickstartSnippets" is probably the place, but since to do it right
seems to require some software upgrades, maybe we want to hold
off and do it the right way.
> Alex
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler