Re: Need help on deploying bullseye

Romain Pelissier <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <CAOMp3fZmJcHOVswkbd+U+pBZyFm+K3YOhgfybabLSpjKJUFVVA@mail.gmail.com>
Hi,
Perfect! Your indications put me in the right direction! I am able to
deploy bullseye now. It's far for being perfect but it works! I will share
my finding here soon.
Thanks again!
R.

Le mar. 19 juil. 2022 à 01:31, Carsten Aulbert <[email protected]>
a écrit :

> Hi,
>
> On 18.07.22 17:19, Romain Pelissier wrote:
> > I have herited of an already FAI setup that deploy debian buster using
> > pxe and it works great!
> > Now, I try to use it to deploy bullseye but even if I have ready the
> > documentation I am still not sure how to proceed with the correct
> steps...
> > Should I modify the existing config or create a new one dedicated to
> > bullseye and point my server pxe boot to this one?
> > Even if I set /srv/fai/config/class/DEBIAN.var with release=bullseye
> > it's not working..
> > Let me know if you want me to share some config files.
>
> we kind of "cheated" to install different OS by just setting our own
> custom variable, e.g. "OS_DEBIAN_BULLSEYE_AMD64" via a class script,
> e.g. class/50-host-classes.
>
> We then only have to provide a few extra files, namely
>
> ./basefiles/OS_DEBIAN_BULLSEYE_AMD64.tar.xz
>
> (this tarball will be extracted from the NFSroot to /target, created via
> /usr/share/doc/fai-doc/examples/simple/basefiles/mk-basefile)
>
> ./files/etc/apt/sources.list/OS_DEBIAN_BULLSEYE_AMD64
>
> base list of sources to install from
>
> ./hooks/instsoft.OS_DEBIAN_BULLSEYE_AMD64
>
> this hook simply performs a few things for us, namely fcopy, e.g.
>
> #!/bin/bash
> fcopy -Bi /etc/apt/sources.list
> $ROOTCMD apt-get update
>
>
> Does this help to get you started?
>
> Cheers
>
> Carsten
> --
> Dr. Carsten Aulbert, Max Planck Institute for Gravitational Physics,
> Callinstraße 38, 30167 Hannover, Germany, Phone +49 511 762 17185
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.