Skip to content

playbook: Add Podman mount copy source - #158

Merged
korewaChino merged 1 commit into
mainfrom
cappy/feat/oci-copy-install
May 1, 2026
Merged

playbook: Add Podman mount copy source#158
korewaChino merged 1 commit into
mainfrom
cappy/feat/oci-copy-install

Conversation

@korewaChino

Copy link
Copy Markdown
Member

Allows playbook-based installs to use a prefix (i.e containers-storage:) as the copy source, allowing OCI artifacts to be used as filesystem copy sources instead of a path.

This internally creates a new container using podman create, then calls podman mount to mount the container root and use that as the copy source instead.

This also changes the type of Copy.copy_source to a String since now it accepts prefixes instead of a full path, they will be internally converted to a PathBuf instead.

Allows playbook-based installs to use a prefix (i.e
`containers-storage:`) as the copy source, allowing OCI artifacts to be
used as filesystem copy sources instead of a path.

This internally creates a new container using `podman create`, then
calls `podman mount` to mount the container root and use that as the
copy source instead.

This also changes the type of `Copy.copy_source` to a `String` since now
it accepts prefixes instead of a full path, they will be internally
converted to a `PathBuf` instead.
@korewaChino
korewaChino requested review from lleyton and madonuko April 30, 2026 02:05
@korewaChino korewaChino linked an issue Apr 30, 2026 that may be closed by this pull request
@korewaChino
korewaChino merged commit d65638a into main May 1, 2026
13 of 16 checks passed
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.

Install from OCI image

2 participants