#!/bin/bash -x # Start loading IIAB. "bash -x" is debug mode set -e # "set -e" to exit on error (avoids snowballing) DEBIAN_FRONTEND=noninteractive apt-get -y update DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade DEBIAN_FRONTEND=noninteractive apt-get -y clean mkdir -p /opt/schoolserver cd /opt/schoolserver git clone https://github.com/xsce/xsce --branch release-6.2 --depth 1 cd /opt/schoolserver/xsce ./scripts/ansible # Installs the correct version of Ansible ./runansible # Try to rerun the above line if it fails!