Fix centos AiO setup

LVM2 must be upgraded before device-mapper.
Otherwise the setup fails.

Change-Id: I97f57c1c8fd50621ad7fa0ddf296cc987c227cd2
Fixes-bug: #1534549
This commit is contained in:
Marc Koderer 2016-01-15 11:53:43 +01:00
parent 3f064206b8
commit 3f4873696c

View File

@ -53,7 +53,8 @@ gpgkey=https://yum.dockerproject.org/gpg
EOF
# Also upgrade device-mapper here because of:
# https://github.com/docker/docker/issues/12108
yum install -y docker-engine device-mapper
# Upgrade lvm2 to get device-mapper installed
yum install -y docker-engine lvm2 device-mapper
# Despite it shipping with /etc/sysconfig/docker, Docker is not configured to
# load it from it's service file.