diff --git a/playbooks/roles/galera_server/files/mysql_init.sh b/playbooks/roles/galera_server/files/mysql_init.sh index 1b50d2c33a..3bdc60ef16 100644 --- a/playbooks/roles/galera_server/files/mysql_init.sh +++ b/playbooks/roles/galera_server/files/mysql_init.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ### BEGIN INIT INFO # Provides: mysql diff --git a/playbooks/roles/lxc_container_create/templates/autodev.j2 b/playbooks/roles/lxc_container_create/templates/autodev.j2 index 259f15e7f5..6078bc64d0 100644 --- a/playbooks/roles/lxc_container_create/templates/autodev.j2 +++ b/playbooks/roles/lxc_container_create/templates/autodev.j2 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash cd ${LXC_ROOTFS_MOUNT}/dev mkdir net mknod net/tun c 10 200 diff --git a/playbooks/roles/os_heat/files/templates/AWS_RDS_DBInstance.yaml b/playbooks/roles/os_heat/files/templates/AWS_RDS_DBInstance.yaml index 30173442e6..b7c53bdd69 100644 --- a/playbooks/roles/os_heat/files/templates/AWS_RDS_DBInstance.yaml +++ b/playbooks/roles/os_heat/files/templates/AWS_RDS_DBInstance.yaml @@ -95,8 +95,8 @@ Resources: MasterUserPassword: {Ref: MasterUserPassword} WaitHandle: {Ref: WaitHandle} - | - #!/bin/bash -v - # + #!/usr/bin/env bash + set -v iptables -F # Helper function diff --git a/scripts/federated-login.sh b/scripts/federated-login.sh index 9cbd9edf51..1341010d73 100755 --- a/scripts/federated-login.sh +++ b/scripts/federated-login.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2015, Rackspace US, Inc. # diff --git a/scripts/run-playbooks.sh b/scripts/run-playbooks.sh index 8eacc10704..20b39a6032 100755 --- a/scripts/run-playbooks.sh +++ b/scripts/run-playbooks.sh @@ -37,7 +37,7 @@ info_block "Checking for required libraries." 2> /dev/null || source $(dirname $ ## Main ---------------------------------------------------------------------- # Create a simple task to bounce all networks within a container. cat > /tmp/ensure_container_networking.sh <