open-nomad/terraform/aws/env/us-east/user-data-server.sh
2017-05-15 11:56:41 -07:00

7 lines
199 B
Bash

#!/bin/bash
set -e
exec > >(sudo tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
sudo bash /ops/shared/scripts/server.sh "${server_count}" "${region}" "${cluster_tag_value}"