Yocto Installer

The compilation and installation of the Yocto version of SEAPATH is entirely described on the GitHub repository seapath/yocto-bsp.

Debian Installer

To install the cluster, you need to generate an ISO, based on Debian 11, for each host with this repository here.

To generate the ISO in the repository, you should launch these below commands:

cp srv_fai_config/class/SEAPATH.var.defaults srv_fai_config/class/SEAPATH.var
$EDITOR srv_fai_config/class/SEAPATH.var
./build_iso.sh

See the below section for more details on the configuration file.

Configuration

In the configuration file, you must define these variables:

  • FAI_ALLOW_UNSIGNED: Boolean to allow installation of packages from unsigned repositories (0 => true)
  • UTC: Boolean to set the system clock to UTC (possible values: yes or no)
  • TIMEZONE: Time to choose
  • KEYMAP: Keyboard translation to choose
  • ROOTPW: Crypted password for root
  • STOP_ON_ERROR: TODO
  • MAXPACKAGES: TODO
  • username: ID of the user account to be created
  • USERPW: Crypted password for the user account to be created
  • usernameansible: ID of the ansible account to be created
  • myrootkey: TODO
  • myuserkey: TODO
  • ansiblekey: TODO
  • apt_cdn: TODO
  • REMOTENIC: Network interface to be set
  • REMOTEADDR: IP address to be set on REMOTENIC with the mask
  • REMOTEGW: IP address for the gateway to be set on REMOTENIC

However, all host will be with the same IP address.

Disks

The disk is composed:

  1. (If the installation is in UEFI) EFI partition in /boot/efi with VFAT filesystem (512 MB).
  2. Boot partition in /boot with ext4 filesystem (500 B).
  3. Main partition with LVM configuration (30 GB). This partition is divided into 3 parts:
    1. Root partition in / with ext4 filesystem (7 GB).
    2. Log partition in /var/log with ext4 filesystem (1 GB).
    3. Swap partition (500 B).

This can be changed in the build_debian_iso/srv_fai_config/disk_config/ directory. There is always 2 versions (one in Legacy BIOS and an other in UEFI mode with the suffix "_EFI").

  • No labels