From 68c6d514e8a18e8c5d8af60b9fa425cb7e87c9d1 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 26 Apr 2016 15:02:28 -0700 Subject: [PATCH] install: Add ADDITIONAL_PACKAGES option. --- scripts/lib/install | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/lib/install b/scripts/lib/install index 5571f6721b..615f28748e 100755 --- a/scripts/lib/install +++ b/scripts/lib/install @@ -3,6 +3,11 @@ set -xe # Assumes we've already been untarred +# Specify options for apt +APT_OPTIONS="${APT_OPTIONS:-}" +# Install additional packages using apt +ADDITIONAL_PACKAGES=${ADDITIONAL_PACKAGES:-} + # First, install any updates from the apt repo that may be needed wget -O /root/zulip-ppa.asc https://zulip.com/dist/keys/zulip-ppa.asc apt-key add /root/zulip-ppa.asc @@ -13,7 +18,7 @@ EOF apt-get update apt-get -y dist-upgrade $APT_OPTIONS -apt-get install -y puppet git python +apt-get install -y puppet git python $ADDITIONAL_PACKAGES mkdir -p /etc/zulip echo -e "[machine]\npuppet_classes = zulip::voyager\ndeploy_type = voyager" > /etc/zulip/zulip.conf