You use the XMLRPC API. We do this as part of our automated
provisioning process.

https://fedorahosted.org/cobbler/wiki/CobblerXmlrpc

-Chris

On Fri, Nov 6, 2015 at 10:49 AM, Scott Mattan <[email protected]> wrote:
> I meant to specify Mike, sorry for the mistake..
>
> *************************************************
> マッタン・スコット 【Mattan, Scott】
> クラウド・ソリューション・エンジニア
> ニスコム株式会社
> *************************************************
>
> On Sat, Nov 7, 2015 at 12:48 AM, Scott Mattan <[email protected]> wrote:
>>
>> Andre,
>>
>> There is a flag --fqdn for the cobbler-register command that allows you to
>> specify the hostname of your choice whether the value be stored in a
>> variable or not.  You just need to add that to the cobbler register script
>> script. How you do it depends on how you are naming your hosts. However it
>> follows standard BASH scripting, so you can be as creative as you need to
>> be.
>>
>> Hope it helps
>>
>> Scott
>>
>> *************************************************
>> マッタン・スコット 【Mattan, Scott】
>> クラウド・ソリューション・エンジニア
>> ニスコム株式会社
>> *************************************************
>>
>> On Sat, Nov 7, 2015 at 12:19 AM, Waldron, Michael H
>> <[email protected]> wrote:
>>>
>>> Andre,
>>>
>>> That did the trick, I also had to install python-ethtool in addition to
>>> koan, and now it works. One additional question, do you have a method for it
>>> to also register the desired hostname or do you just rename it after it's
>>> registered?
>>>
>>> Vielen dank!
>>>
>>> Mike
>>>
>>> Date: Fri, 6 Nov 2015 09:36:36 +0100 (CET)
>>> From: André Gemünd <[email protected]>
>>> To: cobbler mailing list <[email protected]>
>>> Subject: Re: [cobbler] Provisioning a cluster
>>> Message-ID:
>>>
>>> <316657621.782597.1446798996731.javamail.zim...@scai.fraunhofer.de>
>>> Content-Type: text/plain; charset=utf-8
>>>
>>> Hi Mike,
>>>
>>> you need to enable EPEL and install koan in your kickstart. I forgot to
>>> mention that as we have it in our default package list (handy for
>>> reinstalls).
>>> We mirror EPEL with cobbler repo and then add it to the profile repos
>>> field for nearly all of our profiles (except the bare minimal). If you have
>>> the $yum_repo_stanza in your kickstart, this will enable it for installs.
>>>
>>> Cheers
>>> Andre
>>>
>>> Mike Waldron
>>> Systems Specialist
>>> ITS - Research Computing Center
>>> University of North Carolina at Chapel Hill
>>>
>>>
>>> _______________________________________________
>>> cobbler mailing list
>>> [email protected]
>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>
>>
>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>



-- 
Christopher Patti - Geek At Large | GTalk: [email protected] | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to