calamares/src/modules/netinstall
2016-06-30 22:59:29 +01:00
..
images Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00
widgets Switch two connects to Qt5 style. 2016-06-30 22:27:37 +01:00
CMakeLists.txt Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00
module.desc Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00
netinstall.conf Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00
netinstall.qrc Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00
netinstall.yaml Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00
NetInstallPage.cpp Last connect() conversion in the module. 2016-06-30 22:59:29 +01:00
NetInstallPage.h Use utils from the YamlUtils package to read nodes more elegantly. 2016-06-27 23:23:10 +01:00
NetInstallViewStep.cpp Change view name to 'Package selection' 2016-06-30 22:32:31 +01:00
NetInstallViewStep.h Delete redundant include 2016-06-30 22:33:00 +01:00
page_netinst.ui Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00
README.md Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 2016-06-25 23:26:08 +01:00

Netinstall module

The netinstall module allows distribution maintainers to ship minimal ISOs with only a basic set of preinstall packages. At installation time, the user is presented with the choice to install groups of packages from a predefined list.

Calamares will then invoke the correct backend to install the packages.

How are packages configured?

The netinstall.conf file should have this format:

----
groupsUrl: <URL to YAML file>

The URL must point to a YAML file. Here is a short example of how the YAML file should look.

  - name: "Group name"
  description: "Description of the group"
  packages:
    - lsb-release
    - avahi
    - grub
  - name: "Second group name"
  ...

The file is composed of a list of entry, each describing one group. The keys name, description and packages are required.

Two more keys are supported, hidden (if true, do not show the group on the page) and selected (if true, display the group as selected). Both default to false if not present. If both keys are set to true for the same group, you are basically creating a "default" group of packages which will always be installed in the user's system.