blob: f4bd745a9f3dbbd03fcf3776f03cc84ca01c3233 [file] [log] [blame]
#! /bin/bash
set -e
set -x
# Create required dirs.
mkdir --parents /b/storage/
# Install necessary packages.
sudo apt-get update
sudo apt-get --assume-yes upgrade
sudo apt-get --assume-yes install python-django python-setuptools lua5.2
sudo easy_install -U pip
sudo pip install -U crcmod
# Create an ssh key for the autoscaler.
ssh-keygen -f ~/.ssh/google_compute_engine -t rsa -N ''