boxes: Disable NFS client installation on Ubuntu 13.04 / 13.10 / 14.04

References GH-218
This commit is contained in:
Fabio Rehm 2014-03-21 17:50:58 -03:00
parent a8a2f55f21
commit dd31e1f74a
2 changed files with 9 additions and 1 deletions

View file

@ -19,6 +19,11 @@ PUPPET=1 CHEF=1 make precise
Will build a Ubuntu Precise x86_64 box with latest Puppet and Chef pre-installed, please refer to the scripts for more information.
## Known issues
We can't get the NFS client to be installed on the containers used for building
Ubuntu 13.04 / 13.10 / 14.04 base boxes.
## "Anatomy" of a box
If you need to go deeper and build your scripts from scratch or if you are interested

View file

@ -14,10 +14,13 @@ log 'Sleeping for 5 seconds...'
sleep 5
# 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)
if [ $DISTRIBUTION = 'ubuntu' ]; then
PACKAGES+=' software-properties-common'
fi
if [ $RELEASE != 'raring' ] && [ $RELEASE != 'saucy' ] && [ $RELEASE != 'trusty' ] ; then
PACKAGES+=' nfs-common'
fi
utils.lxc.attach apt-get update
utils.lxc.attach apt-get install ${PACKAGES[*]} -y --force-yes
utils.lxc.attach apt-get upgrade -y --force-yes