Skip to content
Snippets Groups Projects

Description

This role provides base methods for each linux system role.

Requirement

Variables

  • linux_installer_home_mirror

    • description:
      • This option contains the URL of the home mirror servers of the installer files.
      • The servers provides the basic images for an installer.
    • default: http://tinycorelinux.net
  • linux_installer_local_mirror

    • description:
      • This option contains the URL of the local mirror servers of the installer files.
      • The servers provides the basic images for an installer.
    • default: {{ linux_installer_home_mirror }}
  • linux_build_installer_root

    • description:
      • This option contains the path to the temporary build path for a linux installer.
      • This value is generated automatically.
  • linux_installer_version

    • description:
      • This options specifies the version of the installer.
    • default: 10.x
  • linux_installer_distribution

    • description:
      • This option specifies the name of a linux distribution for the installer.
    • default: ""

Processes

answerfile

  1. generate a answer file for the Linux installer. (see Linux Installer Guide)

buildinstaller

  1. create installer build root directory and store it in variable linux_build_installer_root
  2. create layout of root directory
  3. set the paths to installers modules and repositories
  4. set and enable startup scripts
  5. install pulbic Ansible SSH key
  6. install basic installer scripts

finaliseinstaller

  1. compress overlay filesystem
  2. download hardware-specific Alpine Linux kernel and initramfs files
  3. merge the overlay filesystem with the initramfs file
  4. save images for registration
  5. cleanup all temporary files and directories

configure

  1. installs locale.gen file
  2. activate specified locale

installer

  1. execute buildinstaller
  2. execute finaliseinstaller

Features

This role provides to create a small linux installer image. It bases on Alpine Linux. This system role does not support container environments at the moment.