Andre,
I am running a default installation and the kickstart does have the
$SNIPPET('cobbler_register') entry, however it's not working. The system
doesn't get registered and just installs again when rebooted. I do have
register_new_installs set also. I see that after installation the
cobbler-register command is not installed on the worker. Am I missing something?
Mike
Date: Thu, 5 Nov 2015 10:14:21 +0100 (CET)
From: André Gemünd <[email protected]>
To: cobbler mailing list <[email protected]>
Subject: Re: [cobbler] Provisioning a cluster
Message-ID:
<1369099692.750496.1446714861962.javamail.zim...@scai.fraunhofer.de>
Content-Type: text/plain; charset="utf-8"
> I am new to Cobbler, and am wondering if anyone uses it to provision a large
> cluster? Rather than having to collect a lot of MAC addresses and manually
> create all the system records, I'd like to be able to have systems register
> themselves when they are first booted.
Assuming the Cobbler server sits in an internal cluster network, when we are
provisioning the (uniform) worker nodes for the first time, we simply set the
default entry for PXE boots to provision the correct distro, depending on your
paths e.g. in /var/lib/tftpboot/pxelinux.cfg/default. You can enable menu in
cobbler settings to let cobbler sync generate you a file showing the available
profiles with the correct params. In the kickstart we use cobbler_register.
> I've seen the snippet 'cobbler_register' which seems intended for this
> purpose, but I can't figure out how to use it. Is anyone doing this? If so
> can you provide specifics on how to do so?
The snippet should just work when its used in a kickstart with
$SNIPPET('cobbler_register'). Be sure to set register_new_installs in cobbler
settings. We also have pxe_just_once set to 1.
--
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
[email protected]
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler