update yum cache before installing software
authorMichael Adam <obnox@samba.org>
Tue, 17 Mar 2015 08:42:31 +0000 (09:42 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 17 Mar 2015 08:42:31 +0000 (09:42 +0100)
to cope with stale info

Vagrantfile

index 457d27d30ed5f21f2c853076592416087a5a922f..bf761b55cdd9238e42765450f717f3fa454f4ef2 100644 (file)
@@ -138,7 +138,9 @@ set -e
 BACKUP_SUFFIX=".orig.$(date +%Y%m%d-%H%M%S)"
 
 # install software
-#
+
+yum -y makecache fast
+
 # dependencies needed due to missing Requires in ctdb:
 yum -y install ethtool net-tools
 yum -y install ctdb samba