Smarter install - Headless

Jerry Williams jwilliam at xmission.com
Tue Jan 16 16:38:17 UTC 2007


> -----Original Message-----
> From: fedora-devel-list-bounces at redhat.com [mailto:fedora-devel-list-
> bounces at redhat.com] On Behalf Of Lamont Peterson
> Sent: Tuesday, January 16, 2007 9:22 AM
> To: fedora-devel-list at redhat.com
> Subject: Re: Smarter install - Headless
> 
> On Monday 15 January 2007 09:58pm, Jerry Williams wrote:
> > I have noticed that when you boot from the DVD that if you don't do
> > anything it acts like you hit enter.
> >
> > How hard would it be to change that to do the following.
> >
> > Check to see if the system has a keyboard.
> > If not look for a floppy with ks.cfg on it.
> > If it finds it act like the user typed: linux ks=floppy
> >
> > If no floppy, look for usb device and do the same.
> > Linux ks=usb/ks.cfg kind of thing.
> >
> > If no usb start network with dhcp and look for
> > Web server linux ks=http://fedora7.<domain from dhcp>/ks.cfg
> > Or maybe linux ks=http://fedora7.<domain from dhcp>/<mac address>.cfg
> 
> Why?  Why not just use DHCP "nextserver" and "filename" options to get the
> kickstart file via NFS?

That is easy at home, not so easy at work and they try really hard not to
use nfs if possible.

> 
> > If no web server then run:
> > Linux vnc vncpassword=Fedora7
> >
> > If it has a keyboard just do the normal thing.
> >
> > This would make it so you don't really have to change the dhcp server.
> 
> What's the advantage of that?  Adding "nextserver" and "kickstart" lines
> is
> easy.  They can even be placed within VCI conditionals or with "static" IP
> assignments if you need different kickstart files for different boxes.
> 
> > Maybe add an alias for a web server.
> > Then the install would happen and when completed would eject DVD.
> > Take out the DVD and power cycle the box and be done.
> 
> I would be interested in seeing anaconda present some kind of selection
> "menu"
> of available kickstart files if "linux ks=whatever:/some/dir/" were
> specified
> (or via DHCP "filename"), pointing to a directory with several kickstart
> files in it.
> --
> Lamont Peterson <lamont at gurulabs.com>
> Senior Instructor
> Guru Labs, L.C. [ http://www.GuruLabs.com/ ]
> 
> NOTE:  All messages from this email address should be digitally signed
> with my
>        0xDC0DD409 GPG key. It is available on the pgp.mit.edu keyserver as
>        well as other keyservers that sync with MIT's.




More information about the fedora-devel-list mailing list