Update centos packages before installing new ones
authorFabio Rehm <fgrehm@gmail.com>
Wed, 24 Sep 2014 15:40:53 +0000 (12:40 -0300)
committerFabio Rehm <fgrehm@gmail.com>
Wed, 24 Sep 2014 15:40:53 +0000 (12:40 -0300)
centos/install-extras.sh

index 1c21647d4a1afd9f2c54578725017af7dff23ce0..4e722ed4c76043c077bc85d2b57b4623e73a349b 100755 (executable)
@@ -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