[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom release, serial console as default?

On Sat, Sep 25, 2004 at 09:50:55PM -0400, Chad M Stewart wrote:
> I'm working on creating what I'm calling quickstart for obsd, similar 
> to jumpstart for Solaris or kickstart for RedHat Linux.  I'm at the 
> point of having a script that finds all network interfaces on boot, 
> then looks for first with status active, and then tries to configure it 
> via dhcp, loops until all 3 of those conditions are positive.  Then 
> this script tries to download the rest of the process, again looping 
> until true.
> What I would really like is to have the console be on the serial port.  
> Sure I can type 'set tty com0' at the boot> prompt, but this is a hands 
> off automated install.  I don't have a lot of knowledge of about the 
> whole make release process.  I am wondering how do I get an 
> /etc/boot.conf file to exist in the bsd kernel image that is used when 
> a release is made?
> Thanks in advance for any pointers.
> Regards,
> Chad

Either add it by hand with vnconfig or change the relevant portion of
distrib/i386/common/Makefile.inc and/or distrib/i386/cdfs/Makefile