Re: Single FAI server, multiple Debian versions?

2024-01-17 Diskussionsfäden Thomas Lange
> On Wed, 17 Jan 2024 12:27:30 +0100, Diego Zuccato > said: > Yup, sure! > And in the list printed during boot there are both, with DEBIAN > preceding BOOKWORM. I see both var files being read & printed. > Since the first workaround didn't work (even after changing

Re: Single FAI server, multiple Debian versions?

2024-01-17 Diskussionsfäden Diego Zuccato
Il 17/01/2024 10:55, Andrew Ruthven ha scritto: On Wed, 2024-01-17 at 09:06 +0100, Diego Zuccato wrote: I copied DEBIAN.var to BOOKWORM64.var, then changed the var to release=bookworm . It'll depend on what you're using as in our profile as well. You need to have a class set that matches the

Re: Single FAI server, multiple Debian versions?

2024-01-17 Diskussionsfäden Andrew Ruthven
Hey Diego, On Wed, 2024-01-17 at 09:06 +0100, Diego Zuccato wrote: > I copied DEBIAN.var to BOOKWORM64.var, then changed the var to > release=bookworm . It'll depend on what you're using as in our profile as well. You need to have a class set that matches the class named used for the basefile

Re: Single FAI server, multiple Debian versions?

2024-01-17 Diskussionsfäden Diego Zuccato
Il 16/01/2024 16:20, Robert Markula ha scritto: Am 16.01.24 um 16:13 schrieb Diego Zuccato: But now the install is saying that it's downloading bullseye packages even if I specified class BOOKWORM64. Surely I've messed up something. Work for tomorrow :) Have a look at your class/DEBIAN file in

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Andrew Ruthven
On Tue, 2024-01-16 at 14:15 +0100, Diego Zuccato wrote: > Tks, that's indeed way easier. And more manageable, especially if the > files are kept on a dedicated http server => no changes to nfsroot. They're kept in the config directory structure that is mounted to /var/lib/fai/config . Not in the

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Robert Markula
Am 16.01.24 um 16:13 schrieb Diego Zuccato: But now the install is saying that it's downloading bullseye packages even if I specified class BOOKWORM64. Surely I've messed up something. Work for tomorrow :) Have a look at your class/DEBIAN file in your FAI config space. There should be a

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Diego Zuccato
Il 16/01/2024 15:00, Thomas Lange ha scritto: > Tks, that's indeed way easier. And more manageable, especially if the > files are kept on a dedicated http server => no changes to nfsroot. > The con is that the file needs to be saved somewhere on the local system > before

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Thomas Lange
> On Tue, 16 Jan 2024 14:15:04 +0100, Diego Zuccato > said: > Tks, that's indeed way easier. And more manageable, especially if the > files are kept on a dedicated http server => no changes to nfsroot. > The con is that the file needs to be saved somewhere on the local

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Diego Zuccato
Tks, that's indeed way easier. And more manageable, especially if the files are kept on a dedicated http server => no changes to nfsroot. The con is that the file needs to be saved somewhere on the local system before being extracted, and that could be a problem with small disks, while with

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Robert Markula
Am 16.01.24 um 10:59 schrieb Andrew Ruthven: It is much faster if you use basefiles, and have one per release you install. See https://fai-project.org/fai-guide/ and search for basefiles. Using basefiles you can not only install different versions of Debian, but different distributions

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Andrew Ruthven
> You can install multiple debian (and even ubuntu) releases from the > same nfsroot, if you run ``debootstrap`` at installtime. It is much faster if you use basefiles, and have one per release you install. See https://fai-project.org/fai-guide/ and search for basefiles. We set a class of

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Diego Zuccato
Tks for the fast answer. I'll have to dig a bit deeper (never used debootstrap explicitly), so it will take a bit more to fully understand. Diego Il 16/01/2024 10:43, Henning Glawe ha scritto: Moin, On Tue, Jan 16, 2024 at 10:22:42AM +0100, Diego Zuccato wrote: Is it possible to use a

Re: Single FAI server, multiple Debian versions?

2024-01-16 Diskussionsfäden Henning Glawe
Moin, On Tue, Jan 16, 2024 at 10:22:42AM +0100, Diego Zuccato wrote: > Is it possible to use a single FAI server to install multiple Debian > releases (to different machines, obv)? > > I'm currently installing bullseye, but I'd like to start testing > bookworm deployments. > I can't find a howto