Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quadlet parameters when container uses rootfs #835

Merged

Conversation

mainnika
Copy link
Contributor

@mainnika mainnika commented Aug 29, 2024

Adjust quadlet parameters to set rootfs as image and clear image field when rootfs container is being used.

e.g.:

  containers.podman.podman_container:
    rootfs: true
    image: "/opt/container-root"

should put into a quadlet file (note, no Image= in a file):

Rootfs=/opt/container-root

Adjust quadlet parameters to set rootfs as image and clear image field when rootfs container is being used.

Signed-off-by: Nikita Tokarchuk <[email protected]>
@mainnika mainnika force-pushed the bugfix/swap-image-rootfs-in-quadlet branch from 9802035 to 5547d1a Compare August 30, 2024 05:24
@sshnaidm sshnaidm merged commit 25a6410 into containers:master Sep 2, 2024
20 checks passed
@sshnaidm
Copy link
Member

sshnaidm commented Sep 2, 2024

Great, thanks for contribution @mainnika !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants