Skip to content

Commit

Permalink
Delete /etc/containers/systemd
Browse files Browse the repository at this point in the history
This is a ugly hack until we can have either:
- quadlet support for symlinked subfoldeer:
  containers/podman#23755
or
- a way for osbuild to delete files/folders:
  osbuild/osbuild#1869

In this mean time, this is a ugly hack that enables us to remove this
empty folder so we can replace it with a symlink via validator.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
  • Loading branch information
pypingou committed Aug 26, 2024
1 parent 19c8d24 commit 16b5dcb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mycontainer.mpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ pipelines:
mpp-format-string: input://inlinefile6/{embedded['validator-boot.service']}
to: tree:///usr/lib/dracut/modules.d/98validator/validator-boot.service

# Delete the /etc/container/systemd folder so we can symlink it instead
- type: org.osbuild.lorax-script
options:
path: auto/remove
product:
name: /etc/containers/systemd

# Create the guest user
- type: org.osbuild.users
options:
Expand Down

0 comments on commit 16b5dcb

Please sign in to comment.