From 6457111dd4d58cc586c8e5c54eca6b5c553eabd8 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Thu, 4 May 2017 17:34:08 -0700 Subject: [PATCH] Install `yum-plugin-ovl` to combat overlayfs2 problems with `yum` --- centos6-i386/make-docker-image.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centos6-i386/make-docker-image.sh b/centos6-i386/make-docker-image.sh index 7485de8..b466d0a 100755 --- a/centos6-i386/make-docker-image.sh +++ b/centos6-i386/make-docker-image.sh @@ -27,6 +27,8 @@ mknod -m 666 "$target"/dev/zero c 1 5 yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \ --setopt=group_package_types=mandatory -y groupinstall Core +yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \ + --setopt=group_package_types=mandatory -y install yum-plugin-ovl yum -c "$yum_config" --installroot="$target" -y clean all cat > "$target"/etc/sysconfig/network <