Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix hardy boxes guest additions, fixes #425 #427

Merged
merged 1 commit into from

2 participants

@rb2k

No description provided.

@rb2k rb2k referenced this pull request
Closed

Hardy boxes fail #425

@jedi4ever jedi4ever merged commit 88249ae into from
@petecheslock petecheslock referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 16, 2012
  1. @rb2k

    Fix install order for guest additions. They can't be installed withou…

    rb2k authored
    …t development essentials
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.