Skip to content

Commit

Permalink
Avoid overlayfs error message by using vfs driver
Browse files Browse the repository at this point in the history
Signed-off-by: Maya Rashish <mrashish@redhat.com>
  • Loading branch information
maya-r committed Jun 5, 2023
1 parent d1e094f commit 5f1a2f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cdi-func-test-registry-init/populate-registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ function pushImages {

update-ca-trust

#remove storage.conf if exists
rm -rf /etc/containers/storage.conf
# Avoid 'overlay' is not supported over overlayfs error
sed -i 's,driver =.*,driver = "vfs",' /etc/containers/storage.conf

#building using buildah requires a properly installed shadow-utils package (which in turn requires SETFCAP)
rpm --restore shadow-utils 2>/dev/null
Expand Down

0 comments on commit 5f1a2f9

Please sign in to comment.