parent |
---|
Configuration |
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.)
Updates the packages that exist in the base image.
Implemented by calling: tdnf update
Example:
os:
packages:
updateExistingPackages: true
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
Installs packages onto the image.
Implemented by calling: tdnf install
.
Example:
os:
packages:
install:
- openssh-server
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
Removes packages from the image.
Implemented by calling: tdnf remove
Example:
os:
packages:
remove:
- openssh-server
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
Updates packages on the system.
Implemented by calling: tdnf update
Example:
os:
packages:
update:
- openssh-server