Update centos packages before installing new ones

This commit is contained in:
Fabio Rehm 2014-09-24 12:40:53 -03:00
parent a814d9424a
commit 4546b8e9db

View file

@ -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