Sha256: 687e3912a2905bdff9983168e5b9048faf8e412e3cd37a4b4d7ffba8fe0b16c1

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

#http://adrianbravo.tumblr.com/post/644860401

#Updating the box
apt-get -y update
apt-get -y install linux-headers-$(uname -r) build-essential
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev
apt-get clean

#Setting up sudo
cp /etc/sudoers /etc/sudoers.orig
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 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
chown -R vagrant /home/vagrant/.ssh

#INstalling the virtualbox guest additions
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
#INstalling the virtualbox guest additions
cd /tmp
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso   
mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
sh /mnt/VBoxLinuxAdditions-amd64.run
umount /mnt

apt-get -y remove linux-headers-$(uname -r) build-essential
apt-get -y autoremove

rm VBoxGuestAdditions_$VBOX_VERSION.iso
exit

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
veewee-0.1.7 templates/ubuntu-10.04.1-server-amd64/postinstall.sh
veewee-0.1.6 templates/ubuntu-10.04.1-server-amd64/postinstall.sh
veewee-0.1.5 templates/ubuntu-10.04.1-server-amd64/postinstall.sh
veewee-0.1.4 templates/ubuntu-10.04.1-server-amd64/postinstall.sh
veewee-0.1.3 templates/ubuntu-10.04.1-server-amd64/postinstall.sh
veewee-0.1.2 templates/ubuntu-10.04.1-server-amd64/postinstall.sh
veewee-0.0.2 templates/ubuntu-10.04.1-server-amd64/postinstall.sh
veewee-0.1.0a templates/ubuntu-10.04.1-server-amd64/postinstall.sh