joyent-portal/bin/setup
2016-10-20 16:04:32 +01:00

19 lines
274 B
Bash
Executable File

#! /usr/bin/env bash
#
# Prelude
#
INCLUDE=$(dirname $(readlink -f $0))
. $INCLUDE/setup_tools
set -euo pipefail
IFS=$'\n\t'
#
# Main
#
ensure_prerequisites
ensure_docker_config_matches_triton_config_and_capture_triton_details
ensure_triton_cns_is_enabled
write_env_file