joyent-portal/bin/setup

19 lines
274 B
Plaintext
Raw Normal View History

2016-10-14 13:57:26 +03:00
#! /usr/bin/env bash
#
# Prelude
#
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