Update centos packages before installing new ones
This commit is contained in:
parent
a814d9424a
commit
4546b8e9db
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ utils.lxc.start
|
||||||
log 'Sleeping for 10 seconds...'
|
log 'Sleeping for 10 seconds...'
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
|
utils.lxc.attach yum update -y
|
||||||
|
|
||||||
# TODO: Support for appending to this list from outside
|
# 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)
|
PACKAGES=(vim curl wget man-db bash-completion python-software-properties ca-certificates sudo nfs-common)
|
||||||
utils.lxc.attach yum install install ${PACKAGES[*]} -y
|
utils.lxc.attach yum install install ${PACKAGES[*]} -y
|
||||||
|
|
Loading…
Reference in a new issue