FAI installation instructions

jurgen.lamsens at telenet.be jurgen.lamsens at telenet.be
Fri May 7 16:53:24 CEST 2010


> "For disk partitioning EXACTLY ONE disk configuration file from $FAI/disk_config is selected using classes." 
> my question is: how is this disk configuration file chosen ? Do you have to give it the name of a class the host belongs to, e.g. FAIBASE ? 

Yep. Maybe reread the chapter about FAI's class system.

-> OK, I did, but still not clear to me. Let's say you have 3 classes: FAIBASE, UBUNTU804 and VMWARE
Suppose the host belongs to all these classes. What file do I have to put in $FAI/disk_config ? 




> Because when I testdrive the "demohost" with my the current setup described at my blog, I get: 
> "ERROR: no config file for setup_harddisk found. Please check your classes and files in disk_config" 

Check the list of classes for your demohost. BTW, you should not use
setup_harddisk any more. Use setup-storage.

-> as you can see on my blog at http://akoestica.be/blog/home/sysadmin/15-provisioning/49-installing-fai under point 4d, you will see that
I actually do use setup-storage: "USE_SETUP_STORAGE=1". Any idea ?



> 3. I also read: 
> "...where file systems should be created (and their types like ext2, ext3, reiserfs), and how they are mounted..." 
> is it possible to use ext4 filesytems, as they are used by default in Ubuntu nowadays ? 

ext4 is supported since FAI 3.3.4.

-> okay, thanks. 
By the way, I'm writing down all kinds of things that could make the manual better. In the end, I'll mail them.



> 4. I want to make an Ubuntu 8.04 mirror on that same fai server. Where and how do I configure what, to make my "demohost" install packages from that repo ? 
In source.list.

-> I'm afraid I need a little bit more info for this. If I understood it correctly, variable "FAI_DEBMIRROR=yournfs debianmirror:/path/to/debianmirror" is used for
clients to mount via NFS under MNTPOINT=/media/mirror.

a.
Let's say I create a mirror on the fai server for:
Ubuntu 8.04 32/64-bit
Ubuntu 10.04 32/64-bit
CentOS 5.4 32/64-bit

and export those 3 locations with NFS.

I only have a single variable "FAI_DEBMIRROR". How can I make my clients install either 8.04, 10.04 or CentOS, with only 1 NFS root ?

b.
And what if I decide NOT to export the mirrors via NFS, but make them accessible via HTTP. I suppose I have to change "/etc/fai/apt/sources.list", but how
do I handle those 3 different repo's ?


More information about the linux-fai mailing list