summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-12-09 15:09:34 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-12-09 15:09:39 -0500
commitc20bd3558904d3ccb937364813a199ba81a5df6a (patch)
tree04733178758e9c18deca5f9b332b0af6ca34a4ba /contrib
parent2605dd82bf7bd6c0b30321c42643609f426c1aa0 (diff)
downloadpodman-c20bd3558904d3ccb937364813a199ba81a5df6a.tar.gz
podman-c20bd3558904d3ccb937364813a199ba81a5df6a.tar.bz2
podman-c20bd3558904d3ccb937364813a199ba81a5df6a.zip
Fix storage.conf to define driver in the VM
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cirrus/setup_environment.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index da175cc05..c32b45a4f 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -47,6 +47,11 @@ echo -e "\n# Begin single-use VM global variables (${BASH_SOURCE[0]})" \
done <<<"$(passthrough_envars)"
) >> "/etc/ci_environment"
+#####
+##### FIXME. /etc/containers/storage.conf should have a driver name set
+##### Remove when VMs updated
+sed 's/^driver.*=.*""/driver = "overlay"/g' -i /etc/containers/storage.conf
+
# This is a possible manual maintenance gaff, check to be sure everything matches.
# shellcheck disable=SC2154
[[ "$DISTRO_NV" == "$OS_REL_VER" ]] || \