Sha256: 35d060a45a2cb270c658e38d5547f16e414dc01952612ed72ac921c4cb99c74c

Contents?: true

Size: 805 Bytes

Versions: 36

Compression:

Stored size: 805 Bytes

Contents

#!/bin/bash

if [ -f .veewee_params ]
then
  . .veewee_params
fi

date > /etc/vagrant_box_build_time

# Installing the virtualbox guest additions
apt-get -y install dkms

# Install NFS client
apt-get -y install nfs-common

# Setup sudo to allow no-password sudo for "admin"
groupadd -r admin
usermod -a -G admin vagrant
cp /etc/sudoers /etc/sudoers.orig
sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=admin' /etc/sudoers
sed -i -e 's/%admin ALL=(ALL) ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers

# Installing vagrant keys
mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys
chmod 600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh

Version data entries

36 entries across 12 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/ubuntu-12.10-server-i386-packages/vagrant.sh
veewee-0.5.0.alpha4 templates/ubuntu-12.10-server-amd64-packages/vagrant.sh
veewee-0.5.0.alpha4 templates/.ubuntu/vagrant.sh
veewee-0.5.0.alpha3 templates/.ubuntu/vagrant.sh
veewee-0.5.0.alpha3 templates/ubuntu-12.10-server-i386-packages/vagrant.sh
veewee-0.5.0.alpha3 templates/ubuntu-12.10-server-amd64-packages/vagrant.sh
veewee-0.5.0.alpha2 templates/ubuntu-12.10-server-amd64-packages/vagrant.sh
veewee-0.5.0.alpha2 templates/ubuntu-12.10-server-i386-packages/vagrant.sh
veewee-0.5.0.alpha2 templates/.ubuntu/vagrant.sh
veewee-0.5.0.alpha1 templates/ubuntu-12.10-server-amd64-packages/vagrant.sh
veewee-0.5.0.alpha1 templates/ubuntu-12.10-server-i386-packages/vagrant.sh
veewee-0.5.0.alpha1 templates/.ubuntu/vagrant.sh
veewee-0.4.5.1 templates/.ubuntu/vagrant.sh
veewee-0.4.5.1 templates/ubuntu-12.10-server-amd64-packages/vagrant.sh
veewee-0.4.5.1 templates/ubuntu-12.10-server-i386-packages/vagrant.sh
veewee-0.4.5 templates/ubuntu-12.10-server-amd64-packages/vagrant.sh
veewee-0.4.5 templates/ubuntu-12.10-server-i386-packages/vagrant.sh
veewee-0.4.5 templates/.ubuntu/vagrant.sh
veewee-0.4.5.pre1 templates/.ubuntu/vagrant.sh
veewee-0.4.5.pre1 templates/ubuntu-12.10-server-i386-packages/vagrant.sh