Skip to content

Latest commit

 

History

History
125 lines (85 loc) · 2 KB

File metadata and controls

125 lines (85 loc) · 2 KB
parent
Configuration

packages type

Specifies packages to remove, install, or update.

Package names can be specified in the following formats:

  • <package-name>
  • <package-name>.<arch>
  • <package-name>-<version>
  • <package-name>-<version>-<release>.<distro>
  • <package-name>-<version>-<release>.<distro>.<arch>

Note: Package names like to parted-3.4-2 will not work. You must include the distro tag. For example, parted-3.4-2.cm2 will work. (cm2 means CBL-Mariner 2.0.)

updateExistingPackages [bool]

Updates the packages that exist in the base image.

Implemented by calling: tdnf update

Example:

os:
  packages:
    updateExistingPackages: true

installLists [string[]]

Same as install but the packages are specified in a separate YAML (or JSON) file.

The other YAML file schema is specified by packageList.

Example:

os:
  packages:
    installLists:
    - lists/ssh.yaml

install [string[]]

Installs packages onto the image.

Implemented by calling: tdnf install.

Example:

os:
  packages:
    install:
    - openssh-server

removeLists [string[]]

Same as remove but the packages are specified in a separate YAML (or JSON) file.

The other YAML file schema is specified by packageList.

Example:

os:
  packages:
    removeLists:
    - lists/ssh.yaml

remove [string[]]

Removes packages from the image.

Implemented by calling: tdnf remove

Example:

os:
  packages:
    remove:
    - openssh-server

updateLists [string[]]

Same as update but the packages are specified in a separate YAML (or JSON) file.

The other YAML file schema is specified by packageList.

Example:

os:
  packages:
    updateLists:
    - lists/ssh.yaml

update [string[]]

Updates packages on the system.

Implemented by calling: tdnf update

Example:

os:
  packages:
    update:
    - openssh-server