Permalink
Browse files

Merge pull request #292 from joemiller/fix_guest_additions_ubuntu_110…

…4_i386

Fix guest additions ubuntu 1104 i386
  • Loading branch information...
2 parents dc41723 + e39c7d5 commit 4a34330bb8ab7e52809dffe7643ba5a6de5ae21a @jedi4ever committed Apr 25, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 templates/ubuntu-11.04-server-i386/postinstall.sh
@@ -2,6 +2,14 @@
date > /etc/vagrant_box_build_time
+# 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 linux-headers-$(uname -r) build-essential
+apt-get -y install zlib1g-dev libssl-dev libreadline5-dev
+apt-get clean
+
# Installing the virtualbox guest additions
apt-get -y install dkms
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
@@ -13,14 +21,6 @@ umount /mnt
rm VBoxGuestAdditions_$VBOX_VERSION.iso
-# 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 linux-headers-$(uname -r) build-essential
-apt-get -y install zlib1g-dev libssl-dev libreadline5-dev
-apt-get clean
-
# Setup sudo to allow no-password sudo for "admin"
cp /etc/sudoers /etc/sudoers.orig
sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=admin' /etc/sudoers

0 comments on commit 4a34330

Please sign in to comment.