Skip to content

suse-autoyast/software-modules

Overrides 'init-options' for SuSe based systems.

Defines the software Modules(s) to use from the ISO.

These are determined by the base ISO file, with a directory in the format of Module-<THING> where <THING> in this case could be "Basesystem".

The format of this Param is as follows:

   <Module Name>: 
     - media_url: <URL to module repository source>
       product_dir: <Directory relative to media_url>
       product: <Module product name>

A Module Name of Basesystem is required and should point to the location of the Module-Basesystem repository in the ISO contents.

The Param is golang template expanded with the ParamExpand function so the Param values may contain DRP and Golang template constructs.

This Param defines the Modules "Basesystem", "Containers", "Python3", and "Server-Applications" by default.

A full example of the SuSe SLES 15.6 (SP6) ISO modules would look like:

YAML format:

Basesystem:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-basesystem
    product_dir: /Module-Basesystem
Containers:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-containers
    product_dir: /Module-Containers
Desktop-Applications:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-desktop-applications
    product_dir: /Module-Desktop-Applications
Development-Tools:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-development-tools
    product_dir: /Module-Development-Tools
HPC:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-hpc
    product_dir: /Module-HPC
Legacy:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-legacy
    product_dir: /Module-Legacy
Live-Patching:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-live-patching
    product_dir: /Module-Live-Patching
Public-Cloud:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-public-cloud
    product_dir: /Module-Public-Cloud
Python3:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-python3
    product_dir: /Module-Python3
RT:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-rt
    product_dir: /Module-RT
SAP-Applications:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-sap-applications
    product_dir: /Module-SAP-Applications
SAP-Business-One:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-sap-business-one
    product_dir: /Module-SAP-Business-One
Server-Applications:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-server-applications
    product_dir: /Module-Server-Applications
Transactional-Server:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-transactional-server
    product_dir: /Module-Transactional-Server
Web-Scripting:
  - media_url: '{{.Env.InstallUrl}}'
    product: sle-module-web-scripting
    product_dir: /Module-Web-Scripting

JSON format:

{
  "Basesystem": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Basesystem",
      "product": "sle-module-basesystem"
    }
  ],
  "Containers": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Containers",
      "product": "sle-module-containers"
    }
  ],
  "Desktop-Applications": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Desktop-Applications",
      "product": "sle-module-desktop-applications"
    }
  ],
  "Development-Tools": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Development-Tools",
      "product": "sle-module-development-tools"
    }
  ],
  "HPC": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-HPC",
      "product": "sle-module-hpc"
    }
  ],
  "Legacy": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Legacy",
      "product": "sle-module-legacy"
    }
  ],
  "Live-Patching": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Live-Patching",
      "product": "sle-module-live-patching"
    }
  ],
  "Public-Cloud": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Public-Cloud",
      "product": "sle-module-public-cloud"
    }
  ],
  "Python3": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Python3",
      "product": "sle-module-python3"
    }
  ],
  "RT": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-RT",
      "product": "sle-module-rt"
    }
  ],
  "SAP-Applications": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-SAP-Applications",
      "product": "sle-module-sap-applications"
    }
  ],
  "SAP-Business-One": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-SAP-Business-One",
      "product": "sle-module-sap-business-one"
    }
  ],
  "Server-Applications": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Server-Applications",
      "product": "sle-module-server-applications"
    }
  ],
  "Transactional-Server": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Transactional-Server",
      "product": "sle-module-transactional-server"
    }
  ],
  "Web-Scripting": [
    {
      "media_url": "{{.Env.InstallUrl}}",
      "product_dir": "/Module-Web-Scripting",
      "product": "sle-module-web-scripting"
    }
  ]
}