Use transient mode in podman.

This commit is contained in:
jimmy committed 2022-12-23 13:15:33 -05:00
1 parent a064978a93
commit b56f8facf3
5 files changed
+44 -4

No files matched your search

+13 -3
View File
@@ -33,15 +33,15 @@ pipelines:
- mpp-eval: distro_repos
- mpp-eval: target_repos
- mpp-eval: extra_repos
- - id: copr-quadlet
baseurl: https://download.copr.fedorainfracloud.org/results/alexl/quadlet/centos-stream-9-$arch/
- - id: copr-podman
baseurl: https://download.copr.fedorainfracloud.org/results/alexl/podman-snapshot/centos-stream-9-x86_64/
packages:
mpp-join:
- mpp-eval: base_rpms
- mpp-eval: image_rpms
- mpp-eval: extra_rpms
- - podman
- quadlet
- podman-quadlet
- curl
excludes:
- dracut-config-rescue
@@ -53,11 +53,20 @@ pipelines:
mpp-embed:
id: storage.conf
path: ../files/storage.conf
inlinefile2:
type: org.osbuild.files
origin: org.osbuild.source
mpp-embed:
id: podman-clean-transient.service
path: ../files/podman-clean-transient.service
options:
paths:
- from:
mpp-format-string: input://inlinefile/{embedded['storage.conf']}
to: tree:///etc/containers/storage.conf
- from:
mpp-format-string: input://inlinefile2/{embedded['podman-clean-transient.service']}
to: tree:///etc/systemd/system/podman-clean-transient.service
- type: org.osbuild.copy
inputs:
inlinefile:
@@ -111,5 +120,6 @@ pipelines:
enabled_services:
- NetworkManager.service
- rngd.service
- podman-clean-transient
- mpp-import-pipelines:
path: include/image.ipp.yml