Sha256: d63cbd628677f9b0e2ffc655c4bf4855b3a9018640fb7278abbe496723ec72bf

Contents?: true

Size: 737 Bytes

Versions: 4

Compression:

Stored size: 737 Bytes

Contents

#!/usr/bin/env bash

if [[ $EUID -ne 0 ]]; then
  echo "ERROR: This script must be run as root" 1>&2
  exit 1
fi

set -e # exit immediately if a simple command exits with a non-zero status

apt-get install python-software-properties
if [ "$(lsb_release --release --short)" == '10.04' ]; then
  add-apt-repository ppa:keithw/mosh
else
  add-apt-repository -y ppa:keithw/mosh
fi

apt-get update
apt-get install build-essential libsqlite3-dev curl rsync git-core \
  tmux mosh \
  libmysqlclient-dev libxml2-dev libxslt-dev libpq-dev libsqlite3-dev \
  runit \
  genisoimage \
  debootstrap kpartx qemu-kvm \
  vim -y

if [ "$(lsb_release --release --short)" == '10.04' ]; then
	apt-get install mkpasswd -y
else
	apt-get install whois -y
fi

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bosh-bootstrap-0.10.2 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages
bosh-bootstrap-0.10.1 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages
bosh-bootstrap-0.10.0 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages
bosh-bootstrap-0.9.0 lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages