On Mon, 7 Mar 2011 11:59:23 -0800, Mark Christian <MCHRISTI(a)altera.com> wrote:
Cobbler version 2.0.10
Our current configuration consists of a single "master" cobbler where all
configuration takes place. There are multiple cobbler "slaves" whose sole
purpose is to mirror the master configuration, they each run the following command every 5
minutes.
/usr/bin/cobbler replicate --master=sj-provision.altera.com --systems="*"
--prune --omit-data
All cobbler servers have configured "pxe_just_once: 1" in
/etc/cobbler/settings.
I would like to automate the setting of "netboot_enabled false" for the newly
built cobbler system on the cobbler master once the cobbler slave has finished
kickstarting this host. This is automated on the cobbler slave responsible for building
the host, however this will get wiped once the cobbler replicate command runs. Is there a
relatively simple way (trigger perhaps?) that will facilitate toggling the netboot_enabled
flag on the master?
There is a post install trigger that might be able to do this. You would
have to allow the slaves to authenticate and modify system records on
the master though.
--
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME