Files
container.training/prepare-vms/cncsetup.sh
Jerome Petazzoni 156ce67413 Update CNC script
2018-09-29 18:44:03 -05:00

13 lines
337 B
Bash

#!/bin/sh
if [ $(whoami) != ubuntu ]; then
echo "This script should be executed on a freshly deployed node,"
echo "with the 'ubuntu' user. Aborting."
exit 1
fi
if id docker; then
sudo userdel -r docker
fi
sudo apt-get update -q
sudo apt-get install -qy jq python-pip wkhtmltopdf xvfb
pip install --user awscli jinja2 pdfkit pssh