Hello Marian,
i think you are right, because bsd.rd is required for last chance to
repair system, among others.

My vision is to have a system like we have in debian, i think it's
proper. In fact, the problem is not to modify the installer to use the
configuration file, it's to setup network automaticly to get this file.

On debian, URL is passed by a kernel variable on pxelinux
(url=http/ftp/tftp://...). If we can pass this variable to OpenBSD
boot.conf file (used for PXE), and setup URL + network method (we need
to set the config URL, and network methods (iface + dhcp/static) to get
this file), we can modify install script to use some obtained variabled,
loaded into this file.

Many people want this function, i think we must think together to see
what everybody want. What do you think about my proposed method ?

We can also pass config file by DHCP (string record ?) or DNS (special
TXT record ?) but it's not really automated because it doesn't resolve
the networking connection problem.

-- 
Best regards, 

Loïc BLOT, Engineering
UNIX Systems, Security and Networks
http://www.unix-experience.fr


Le mardi 13 août 2013 à 13:09 +0200, Marian Hettwer a écrit :
> Hi loic,
> 
> 
> Sorry for top posting. 
> I need exactly the same for OpenBSD. Maybe we could work together...
> In my example all I need on top of it is some same network config and
> a first puppet run after reboot...
> But I hesitated to modify bsd.rd...
> Maybe it's more wise to create a "netboot.rd" and let bsd.rd alone.
> 
> 
> A starting point could be http://www.hiqu.biz/redux
> 
> 
> PM me if you have interest to work together with me :-)
> 
> 
> Cheers
> Marian
> 
> -- 
> sent via my mobile C64
> 
> Am 13.08.2013 um 08:37 schrieb Loïc BLOT
> <loic.b...@unix-experience.fr>:
> 
> 
> > Hello Tito,
> > thanks to give me another time the FAQ, you think i have never read.
> > This boot process is okay for me but the problem is NOT the PXE boot
> > process. The problem is to automate the installation.
> > My OpenBSD pxeboot is chained after a pxelinux which already deserve
> > automated installed debian. Now the goal is to deserve automated
> > installed OpenBSD.
> > 
> > I don't know if i don't choose the rights words to explain my need,
> > or
> > if nobody read all my answers to already answered questions... but i
> > give a list of precision for future answers:
> > 
> > 1. My problem is NOT PXE boot
> > (http://www.openbsd.org/faq/faq6.html#PXE
> > => NO)
> > 2. My problem is NOT siteXX.tgz and customized installations with
> > this
> > mean (http://openbsd.org/faq/faq4.html#site => NO)
> > 3. What i want is something like this:
> > https://wiki.debian.org/DebianInstaller/Preseed or this
> > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5
> > /html/Installation_Guide/ch-kickstart2.html
> > 
> > Then i ask @misc to know if an existing process exists, but now i
> > think
> > this doesn't exist and i must create a special bsd.rd PXE to do this
> > (and share it to OpenBSD community, it will be great for deploy
> > OpenBSD
> > on several machines without doing anything.
> > 
> > Have a nice day :)
> > 
> > --
> > Best regards,
> > Loïc BLOT,
> > UNIX systems, security and network expert
> > http://www.unix-experience.fr
> > 
> > 
> > Le mardi 13 août 2013 à 06:29 +0800, Tito Mari Francis Escaño a
> > écrit :
> > > Please read http://www.openbsd.org/faq/faq6.html#PXE and hope this
> > > helps. You'd have been told with deliberately unpleasant choice of
> > > words if next time you don't research well before asking in the
> > > list.
> > > 
> > > 
> > > 
> > > On Tue, Aug 13, 2013 at 4:57 AM, Loïc BLOT
> > > <loic.b...@unix-experience.fr> wrote:
> > >        Thanks for the precision James, you confirmed what i have
> > >        understood.
> > >        I will search tomorrow.
> > >        --
> > >        Best regards,
> > >        Loïc BLOT,
> > >        UNIX systems, security and network expert
> > >        http://www.unix-experience.fr
> > > 
> > > 
> > > 
> > >        Le lundi 12 août 2013 à 12:23 -0700, James A. Peltier a
> > >        écrit :
> > > > ----- Original Message -----
> > > > | read the FAQ, Loic.
> > > > |
> > > > | http://openbsd.org/faq/faq4.html#site
> > > > |
> > > > | Site*.tgz, install.site and upgrade.site are a good
> > >        starting point.
> > > > |
> > > > | On Mon, Aug 12, 2013 at 11:59 AM, Loïc BLOT
> > > > | <loic.b...@unix-experience.fr> wrote:
> > > > | > Hello @misc.
> > > > | >
> > > > | > Today i'm working on automated deploy with PXE. I have
> > >        successful
> > > > | > found
> > > > | > and made automated PXE install on Debian with pxelinux.
> > > > | >
> > > > | > I know OpenBSD have a pxe boot image to netinstall the
> > >        system
> > > > | >
> > > 
> > http://www.cyberciti.biz/faq/openbsd-boot-install-using-pxe-preboot-execution
> > > > | > -environment/
> > > > | >
> > > > | > Is there any options to automate the installation ?
> > > > | > I want a machine to boot on bsd.rd, read a configuration
> > >        file (url
> > > > | > passed by etc/boot.conf, for example) and install with
> > >        the read
> > > > | > parameters.
> > > > | > Is there any issue to do this or i do it myself ?
> > > > | >
> > > > | > Thanks for advance
> > > > | > --
> > > > | > Best regards,
> > > > | > Loïc BLOT,
> > > > | > UNIX systems, security and network expert
> > > > | > http://www.unix-experience.fr
> > > > | >
> > > > | > [demime 1.01d removed an attachment of type
> > > > | > application/pgp-signature which had a name of
> > >        signature.asc]
> > > > 
> > > > If you are looking for automated partitioning and the like
> > >        the site.install
> > >        and site.upgrade don't apply whatsoever.  In order to fully
> > >        automate the
> > >        installation you will need to modify the bsd.rd file
> > > contents
> > >        in order to do
> > >        that.  site.install and site.upgrade can be used to do
> > > other
> > >        things like
> > >        install packages or upgrade the OS as necessary.
> > > 
> > >        [demime 1.01d removed an attachment of type
> > >        application/pgp-signature which had a name of
> > > signature.asc]
> > 
> > [demime 1.01d removed an attachment of type
> > application/pgp-signature which had a name of signature.asc]

Reply via email to