github.com/smithx10/nomad@v0.9.1-rc1/e2e/terraform/user-data-server.sh (about)

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