2016-10-14 13:57:26 +03:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
|
|
|
#
|
|
|
|
# Prelude
|
|
|
|
#
|
2016-10-20 18:04:32 +03:00
|
|
|
INCLUDE=$(dirname $(readlink -f $0))
|
|
|
|
. $INCLUDE/setup_tools
|
|
|
|
|
2016-10-14 13:57:26 +03:00
|
|
|
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
|