4078e6ea0e
Many of our scripts have a non-portable interpreter line for bash and use bash-specific variables like `BASH_SOURCE`. Update the interpreter line to be portable between various Linuxes and macOS without complaint from posix shell users.
7 lines
194 B
Bash
7 lines
194 B
Bash
#!/usr/bin/env 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/client.sh "aws" "${retry_join}" "${nomad_binary}"
|