Skip to content

Commit

Permalink
update formatting to match
Browse files Browse the repository at this point in the history
Signed-off-by: cgruver <[email protected]>
  • Loading branch information
cgruver committed Dec 11, 2024
1 parent e104fb2 commit fa6ea3f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions base/ubi9/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ if [ ! -d "${HOME}" ]; then
fi

# Configure container builds to use vfs or fuse-overlayfs
if [ ! -d "${HOME}/.config/containers" ]
then
if [ ! -d "${HOME}/.config/containers" ]; then
mkdir -p ${HOME}/.config/containers
if [ -c "/dev/fuse" ] && [ -f "/usr/bin/fuse-overlayfs" ]
then
if [ -c "/dev/fuse" ] && [ -f "/usr/bin/fuse-overlayfs" ]; then
(echo '[storage]';echo 'driver = "overlay"';echo '[storage.options.overlay]';echo 'mount_program = "/usr/bin/fuse-overlayfs"') > ${HOME}/.config/containers/storage.conf
else
(echo '[storage]';echo 'driver = "vfs"') > "${HOME}"/.config/containers/storage.conf
Expand Down

0 comments on commit fa6ea3f

Please sign in to comment.