FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 04-09-2008, 07:51 PM
Pablo Iranzo Gómez
 
Default PATCH KOAN: Add a reinstall entry in grub (Cobbler ticket #11)

Hi all
The attached patch for Koan will add a new command line
"--add-reinstall-entry" that will use Koan to get a kernel, initrd,
kickstart, etc to add a new entry called "Reinstall" on machines's grub
not as default.

Using that entry for booting, would be the same as running "koan
-r --server=whatever; reboot"

On each run, Koan will clean up those entries and set-up one, that
will be the default for booting or not, depending on the
"--add-reinstall-entry" presence or not (if present, not default boot)

Regards
Pablo


--
Pablo Iranzo Gómez
(http://Alufis35.uv.es/~iranzo/)
(PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp)
--
Postulado de Boling sobre la Ley de Murphy:

Si se encuentra bien, no se preocupe. Se le pasará____________________________________________ ___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 04-09-2008, 07:57 PM
Michael DeHaan
 
Default PATCH KOAN: Add a reinstall entry in grub (Cobbler ticket #11)

Pablo Iranzo Gómez wrote:

Hi all
The attached patch for Koan will add a new command line
"--add-reinstall-entry" that will use Koan to get a kernel, initrd,
kickstart, etc to add a new entry called "Reinstall" on machines's grub
not as default.

Using that entry for booting, would be the same as running "koan
-r --server=whatever; reboot"

On each run, Koan will clean up those entries and set-up one, that
will be the default for booting or not, depending on the
"--add-reinstall-entry" presence or not (if present, not default boot)

Regards
Pablo




Nice.

So as an example, suppose you wanted to, in kickstart, add an entry in
grub that would allow
you to reinstall the system, whenever you wanted, from the grub menu.


All you would have to do is...

%packages
koan # or otherwise install the rpm with wget/rpm in %post if using
RHEL 3/4


%post
#set profilename =$getVar("profile",$name)
koan --server=$server --replace-self --add-reinstall-entry
--profile=$profilename


I'll apply this and add it to the Wiki under the koan section shortly.

Thanks!

--Michael


------------------------------------------------------------------------

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 02:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org