open-nomad/e2e/terraform/user-data-server.sh
2018-12-17 11:40:09 -06:00

7 lines
186 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 "aws" "${server_count}" "${retry_join}"