Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
boxes: Disable NFS client installation on Ubuntu 13.04 / 13.10 / 14.04
Browse files Browse the repository at this point in the history
References GH-218
  • Loading branch information
fgrehm committed Mar 21, 2014
1 parent a8a2f55 commit dd31e1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions BOXES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion boxes/debian/install-extras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd31e1f

Please sign in to comment.