We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f225913 commit 38c22ebCopy full SHA for 38c22eb
base/ubi9/entrypoint.sh
@@ -6,11 +6,9 @@ if [ ! -d "${HOME}" ]; then
6
fi
7
8
# Configure container builds to use vfs or fuse-overlayfs
9
-if [ ! -d "${HOME}/.config/containers" ]
10
-then
+if [ ! -d "${HOME}/.config/containers" ]; then
11
mkdir -p ${HOME}/.config/containers
12
- if [ -c "/dev/fuse" ] && [ -f "/usr/bin/fuse-overlayfs" ]
13
- then
+ if [ -c "/dev/fuse" ] && [ -f "/usr/bin/fuse-overlayfs" ]; then
14
(echo '[storage]';echo 'driver = "overlay"';echo '[storage.options.overlay]';echo 'mount_program = "/usr/bin/fuse-overlayfs"') > ${HOME}/.config/containers/storage.conf
15
else
16
(echo '[storage]';echo 'driver = "vfs"') > "${HOME}"/.config/containers/storage.conf
0 commit comments