diff --git a/terraform/aws/scripts/install.sh b/terraform/aws/scripts/install.sh index 5fc2b417a..a6a0c54eb 100644 --- a/terraform/aws/scripts/install.sh +++ b/terraform/aws/scripts/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e echo "Installing dependencies..." diff --git a/terraform/aws/scripts/ip_tables.sh b/terraform/aws/scripts/ip_tables.sh index d2fc87cf8..b304cd1a8 100644 --- a/terraform/aws/scripts/ip_tables.sh +++ b/terraform/aws/scripts/ip_tables.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e sudo iptables -I INPUT -s 0/0 -p tcp --dport 8300 -j ACCEPT diff --git a/terraform/aws/scripts/service.sh b/terraform/aws/scripts/service.sh index be67ed090..fd8b6361f 100755 --- a/terraform/aws/scripts/service.sh +++ b/terraform/aws/scripts/service.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e echo "Starting Consul..."