Skip to content

Commit

Permalink
Adding setup fix
Browse files Browse the repository at this point in the history
resolve #310

Current regexp creates malformed podman
storage.conf file for qm, which breaks podman cli inside QM

Signed-off-by: Yariv Rachmani <[email protected]>
  • Loading branch information
Yarboa committed Jan 17, 2024
1 parent c883d17 commit c4fba99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ storage() {
"${ROOTFS}/var/lib/shared/overlay-layers/layers.lock"

sed -e '/additionalimage.*/,/]/s/^#//g' \
-e '/additionalimages.*/{n;s/.*/\"\/var\/lib\/shared\",/;}' \
-e '/additionalimages.*/a\"/var\/lib\/shared/\",' \
-e 's|^#.*transient_store.*|transient_store=true|g' \
/"${ROOTFS}/usr/share/containers/storage.conf" \
> "${ROOTFS}/etc/containers/storage.conf"
Expand Down

0 comments on commit c4fba99

Please sign in to comment.