Merge "tools: use /usr/bin/env bash instead of /bin/bash"
This commit is contained in:
commit
98479f5e28
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
containers_running=$(sudo docker ps --filter "label=kolla_version" --format "{{.Names}}")
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Spawning the neutron agents containers leaves artifacts on the host.
|
||||
# This script removes these artifacts.
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Move to top level directory
|
||||
REAL_PATH=$(python -c "import os;print os.path.realpath('$0')")
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "##### System Identification #####"
|
||||
egrep -w 'PRETTY_NAME|VERSION_ID' /etc/os-release
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
set -o pipefail
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# This script can be used to interact with kolla via ansible.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ANSIBLE=`find ansible -type f -exec cat {} \; | wc -l`
|
||||
DOCKER=`find docker -type f -exec cat {} \; | wc -l`
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
_XTRACE_OVS_DPDK_CTL=$(set +o | grep xtrace)
|
||||
if [[ "${OVS_DPDK_CTL_DEBUG}" == "True" ]]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
TOPLEVEL=$(git rev-parse --show-toplevel)
|
||||
RES=0
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Ignore E006 -- line length greater than 80 char
|
||||
# Error on E005 -- file does not begin with #! or have .sh prefix
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
||||
cd "$(dirname "$REAL_PATH")/.."
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# This script can be used to check user privilege to execute
|
||||
# docker commands
|
||||
|
Loading…
Reference in New Issue
Block a user