Skip to content

Commit

Permalink
Merge pull request #50 from juliandunn/BENTO-19
Browse files Browse the repository at this point in the history
[BENTO-19] Use the VirtualBox ISO that veewee attaches to the machine
  • Loading branch information
juliandunn committed May 22, 2013
2 parents 27e6a21 + fda221e commit 033d882
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions definitions/.common/vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
if [ -f /home/vagrant/.vbox_version ]; then
mkdir /tmp/vbox
VER=$(cat /home/vagrant/.vbox_version)
wget http://download.virtualbox.org/virtualbox/$VER/VBoxGuestAdditions_$VER.iso
mount -o loop VBoxGuestAdditions_$VER.iso /tmp/vbox
mount -o loop VBoxGuestAdditions_$VER.iso /tmp/vbox
sh /tmp/vbox/VBoxLinuxAdditions.run
umount /tmp/vbox
rmdir /tmp/vbox
Expand All @@ -13,7 +12,7 @@ fi

mkdir /home/vagrant/.ssh
wget --no-check-certificate \
'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' \
'https://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' \
-O /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh
chmod -R go-rwsx /home/vagrant/.ssh

0 comments on commit 033d882

Please sign in to comment.