aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/pre-install-as-root6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pre-install-as-root b/bin/pre-install-as-root
index 369af408a..7ba759fd2 100755
--- a/bin/pre-install-as-root
+++ b/bin/pre-install-as-root
@@ -23,6 +23,9 @@ then
shift
fi
+# Install some packages that we will definitely need:
+apt-get install -y git-core lockfile-progs rubygems curl dnsutils lsb-release
+
# If we're not running on an EC2 instance, an empty body is returned
# by this request:
EC2_HOSTNAME=`curl -s http://169.254.169.254/latest/meta-data/public-hostname || true`
@@ -261,9 +264,6 @@ add_unix_user "$UNIX_USER"
update_apt_sources
-# Install some packages that we will definitely need:
-apt-get install -y git-core lockfile-progs rubygems
-
# And remove one crippling package, if it's installed:
apt-get remove -y --purge apt-xapian-index || true