From 4763506b8917f38ab0d550a017a33a71a0630e6c Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 2 Sep 2014 12:44:46 -0400 Subject: [PATCH] Remove erroneous yum upgrade. This upgrade shouldn't be part of the docker setup process. If an upgrade is needed, it should be done independently of the docker setup. Do it to your base image, or if needed, as a shell provisioner step. --- plugins/provisioners/docker/cap/redhat/docker_install.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/provisioners/docker/cap/redhat/docker_install.rb b/plugins/provisioners/docker/cap/redhat/docker_install.rb index dd5220db3..2d6bd1e51 100644 --- a/plugins/provisioners/docker/cap/redhat/docker_install.rb +++ b/plugins/provisioners/docker/cap/redhat/docker_install.rb @@ -29,7 +29,6 @@ module VagrantPlugins if ! comm.test("rpm -qa | grep epel-release") comm.sudo("rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm") end - comm.sudo("yum -y upgrade") comm.sudo("yum -y install docker-io") end end