wiki:FAIServer

Version 3 (modified by admin, 4 years ago) (diff)

--

Role

Building a new CD

  • cd /home/fai
  • ./make-fai-cd.sh 1>cd_build.out.`date +%Y%m%d` 2>&1

Creating a new System Image

  • Add an entry for your new system image to /etc/fai/grub.cfg .
  • Add an entry for your new system image to /home/fai/config/class/50-host-classes .
    • this is where you declare which 'classes' you want your system to use. almost all configuration is done by adding/editing classes.

Creating a new Class

Adding packages to a class

To add packages to a class, edit or create a file at /home/fai/config/package_config/CLASSNAME, where CLASSNAME is the name of the class. Sections of this file defining packages to install when this class is selected start with PACKAGES install. Sections of this file defining packages to install when this class is selected, and another class is also selected start with PACKAGES install OTHERCLASS, where OTHERCLASS is the name of the class we are 'responding' to.