diff --git a/playbooks/roles/galera_server/files/mysql_init.sh b/playbooks/roles/galera_server/files/mysql_init.sh index 1bdf118fa7..b2cd26addf 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 c6a199df61..d524c9f20e 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 4dd42d7f8a..f16e8d1503 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 <