open-nomad/terraform/azure/env/EastUS/user-data-server.sh

7 lines
188 B
Bash
Raw Normal View History

2017-11-01 21:07:13 +00:00
#!/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 "azure" "${server_count}" "${retry_join}"