# Apt-install various things necessary for Ruby, guest additions, # etc., and remove optional things to trim down the machine. apt-get -y update apt-get -y upgrade apt-get -y install gcc build-essential linux-headers-$(uname -r) apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev apt-get -y install vim curl apt-get clean # Set up sudo ( cat <<'EOP' %vagrant ALL=(ALL) NOPASSWD: ALL EOP ) > /tmp/vagrant chmod 0440 /tmp/vagrant mv /tmp/vagrant /etc/sudoers.d/ # Install NFS client apt-get -y install nfs-common