From 4546b8e9db792f3840202199aa06f15e75a68c7c Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 24 Sep 2014 12:40:53 -0300 Subject: [PATCH] Update centos packages before installing new ones --- centos/install-extras.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centos/install-extras.sh b/centos/install-extras.sh index 1c21647..4e722ed 100755 --- a/centos/install-extras.sh +++ b/centos/install-extras.sh @@ -13,6 +13,8 @@ utils.lxc.start log 'Sleeping for 10 seconds...' sleep 10 +utils.lxc.attach yum update -y + # TODO: Support for appending to this list from outside PACKAGES=(vim curl wget man-db bash-completion python-software-properties ca-certificates sudo nfs-common) utils.lxc.attach yum install install ${PACKAGES[*]} -y