mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 17:49:59 +00:00
Summary of changes: - "workshopctl" is now "labctl" - it can handle deployment of VMs but also of managed Kubernetes clusters (and therefore, it replaces the "prepare-tf" directory) - support for many more providers has been added Check the README.md, in particular the "directory structure"; it has the most important information.
13 lines
337 B
Bash
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
|