diff --git a/podvm-mkosi/.gitignore b/podvm-mkosi/.gitignore index bb3a3bf4d..6397c7296 100644 --- a/podvm-mkosi/.gitignore +++ b/podvm-mkosi/.gitignore @@ -7,3 +7,4 @@ mkosi.workspace/* uplosi.conf.d uplosi.conf resources/binaries-tree +mkosi.presets/**/*-extra.conf diff --git a/podvm-mkosi/README.md b/podvm-mkosi/README.md index a46d3d259..4cc836136 100644 --- a/podvm-mkosi/README.md +++ b/podvm-mkosi/README.md @@ -29,6 +29,17 @@ You can easily place additional files in `resources/binaries-tree` after it has binaries build step. Notice that systemd units need to be enabled in the presets and links in the tree won't be copied into the image. +If you want to add additional packages to the image, you can define `mkosi.presets/system/mkosi.conf.d/fedora-extra.conf`: + +```ini +[Match] +Distribution=fedora + +[Content] +Packages= + cowsay +``` + ## Limitations The following limitations apply to these images. Notice that the limitations are intentional to