[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cobbler
Subject:    Re: Docs on build_report_email.template???
From:       mark <prgrmr () gmail ! com>
Date:       2010-06-08 18:29:45
Message-ID: AANLkTikbIYmLUcCAv32yLzSqInS7S2bqw6w0q1eBEVfw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Jun 8, 2010 at 2:26 PM, Jeremy Hansen <jeremy@skidrow.la> wrote:

>
> On Jun 8, 2010, at 11:23 AM, mark wrote:
>
>
> On Tue, Jun 8, 2010 at 2:11 PM, Jeremy Hansen <jeremy@skidrow.la> wrote:
>
>>
>> Sounds easier to just do a post install script within the kickstart or
>> create a package that runs one time at first boot.  I just figured that
>> there was some way to access utilities installed on the host, such as
>> ethtool, etc from within the reporting template in cobbler.
>>
>> -jeremy
>>
>>
>>
> Something I did to accomplish this was have a cobbler snippet for a custom
> "firstboot" script, which can be made to run all sorts of validation checks
> on what was config'd and how well the installation went.
>
> mark
>
>
> This works with the firstboot utility that comes with Red hat?  I thought
> about this but never looked into customizing firstboot.  I'll have a look.
>
> Thanks!
> -jeremy
>
>
Yes.  /usr/sbin/firstboot is just a python script.  I have a snippet that
over-writes it with a shell script that does a df -k, netstat -rn, ifconfig
-a and some other basic diagnostic stuff.    You also need to make sure in
your kickstart script on cobbler that you aren't disabling firstboot anymore
if you try this.

mark

[Attachment #5 (text/html)]

<div class="gmail_quote">On Tue, Jun 8, 2010 at 2:26 PM, Jeremy Hansen <span \
dir="ltr">&lt;<a href="mailto:jeremy@skidrow.la">jeremy@skidrow.la</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div \
style="word-wrap: break-word;"><br><div><div><div></div><div class="h5"><div>On Jun \
8, 2010, at 11:23 AM, mark wrote:</div><br><blockquote type="cite"><br><div \
class="gmail_quote">On Tue, Jun 8, 2010 at 2:11 PM, Jeremy Hansen <span \
dir="ltr">&lt;<a href="mailto:jeremy@skidrow.la" \
target="_blank">jeremy@skidrow.la</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;"> <br>
Sounds easier to just do a post install script within the kickstart or create a \
package that runs one time at first boot.  I just figured that there was some way to \
access utilities installed on the host, such as ethtool, etc from within the \
reporting template in cobbler.<br>


<br>
-jeremy<br>
<br><br></blockquote><div><br>Something I did to accomplish this was have a cobbler \
snippet for a custom &quot;firstboot&quot; script, which can be made to run all sorts \
of validation checks on what was config&#39;d and how well the installation went. \
<br>

<br>mark<br><br></div></div></blockquote><div><br></div></div></div><div>This works \
with the firstboot utility that comes with Red hat?  I thought about this but never \
looked into customizing firstboot.  I&#39;ll have a look.</div> <div \
class="im"><div><br></div><div>Thanks!</div><div>-jeremy</div><br></div></div></div></blockquote><div><br>Yes. \
/usr/sbin/firstboot is just a python script.  I have a snippet that over-writes it \
with a shell script that does a df -k, netstat -rn, ifconfig -a and some other basic \
diagnostic stuff.    You also need to make sure in your kickstart script on cobbler \
that you aren&#39;t disabling firstboot anymore if you try this.<br> <br>mark<br><br> \
<br></div></div>



_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic