/iso-generator

Generation of a Zentyal ISO based on cloud-init.

Primary LanguageShell

ISO generation

Requirements

The computer requirements to build an ISO are:

  1. Around 5GB of available disk space.

  2. The system packages installed:

    • wget
    • p7zip-full
    • debootstrap
    • gnupg
    • dpkg-dev
    • genisoimage

    You can install those packages by running the following command:

    sudo apt update
    sudo apt install \
        wget \
        p7zip-full \
        debootstrap \
        gnupg \
        dpkg-dev \
        genisoimage

Generate the ISO

To generate a new ISO based on an Ubuntu Server 20.04 live you must do the following:

  1. Clone this repository:

    git clone https://github.com/zentyal/iso-generator.git
  2. Change this directory:

    cd iso-generator
  3. Create the variable file autoinstall-vars.conf from the template autoinstall-vars.conf.template

    cp autoinstall-vars.conf.template autoinstall-vars.conf
  4. Do the necessary modifications to the variable file like the value of BASE_DIR variable.

  5. Run the script that generates the ISO:

    ./autoinstall.sh
  6. Test the ISO.