diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-06-07 14:39:57 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-06-07 14:43:01 -0400 |
commit | 126686f3d780e0b4e6fbdc4ca41547a304198c09 (patch) | |
tree | 42701ca9dc14629d3a949d000b9d6ac57988dfa3 /contrib/podmanimage/upstream | |
parent | 96578a26c343aac0f7dfbbf16d9da509cded9ff3 (diff) | |
download | podman-126686f3d780e0b4e6fbdc4ca41547a304198c09.tar.gz podman-126686f3d780e0b4e6fbdc4ca41547a304198c09.tar.bz2 podman-126686f3d780e0b4e6fbdc4ca41547a304198c09.zip |
Podman images generated with empty /etc/containers/storage.conf
The Containerfiles were built with sed -i, which is leading to empty
storage.conf files. This will cause Podman in a container to print
warning information about storage.driver not being set to something.
[NO NEW TESTS REQUIRED]
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'contrib/podmanimage/upstream')
-rw-r--r-- | contrib/podmanimage/upstream/Containerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/podmanimage/upstream/Containerfile b/contrib/podmanimage/upstream/Containerfile index 256c31232..c3a07a8d6 100644 --- a/contrib/podmanimage/upstream/Containerfile +++ b/contrib/podmanimage/upstream/Containerfile @@ -38,7 +38,7 @@ RUN mkdir -p /home/podman/.local/share/containers && \ # Copy & modify the defaults to provide reference if runtime changes needed. # Changes here are required for running with fuse-overlay storage inside container. -RUN sed -i -e 's|^#mount_program|mount_program|g' \ +RUN sed -e 's|^#mount_program|mount_program|g' \ -e '/additionalimage.*/a "/var/lib/shared",' \ -e 's|^mountopt[[:space:]]*=.*$|mountopt = "nodev,fsync=0"|g' \ /usr/share/containers/storage.conf \ |