vagrant-lxc-base-boxes/centos/install-extras.sh
Tuomo Tanskanen 2d5abdfc2d Remove extraneous install argument from yum
Yum has an extra "install" in the command line in "install-extras.sh". It is intepreted as a package name, but luckily just ignored.
2014-11-04 14:30:03 +02:00

20 lines
498 B
Bash
Executable file

#!/bin/bash
set -e
source common/ui.sh
source common/utils.sh
info 'Installing extra packages and upgrading'
debug 'Bringing container up'
utils.lxc.start
# Sleep for a bit so that the container can get an IP
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 ${PACKAGES[*]} -y