Permalink
Browse files

Merge pull request #427 from rb2k/master

Fix hardy boxes guest additions, fixes #425
  • Loading branch information...
2 parents 4b8b85b + 5cdd947 commit 88249ae249cbf8c4a5291e6928dbcf1820e59398 @jedi4ever committed Dec 12, 2012
View
12 templates/ubuntu-8.04.4-server-amd64/postinstall.sh
@@ -2,6 +2,12 @@
date > /etc/vagrant_box_build_time
+#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 nfs-common
+apt-get clean
+
#Installing the virtualbox guest additions
apt-get -y install dkms
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
@@ -13,12 +19,6 @@ umount /mnt
rm VBoxGuestAdditions_$VBOX_VERSION.iso
-#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 nfs-common
-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
View
12 templates/ubuntu-8.04.4-server-i386/postinstall.sh
@@ -2,6 +2,12 @@
date > /etc/vagrant_box_build_time
+#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 nfs-common
+apt-get clean
+
#Installing the virtualbox guest additions
apt-get -y install dkms
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
@@ -13,12 +19,6 @@ umount /mnt
rm VBoxGuestAdditions_$VBOX_VERSION.iso
-#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 nfs-common
-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

0 comments on commit 88249ae

Please sign in to comment.