diff --git a/manifests/local-dind/pv-hosts.sh b/manifests/local-dind/pv-hosts.sh index d7f3340f5d..f7e3c74167 100755 --- a/manifests/local-dind/pv-hosts.sh +++ b/manifests/local-dind/pv-hosts.sh @@ -2,7 +2,7 @@ set -euo pipefail PV_NUMS=${PV_NUMS:-$(seq 0 3)} -for node in $(kubectl get nodes --no-headers | awk '{print $1}' | grep -v master) ; do +for node in $(kubectl get nodes --no-headers | grep -v master | awk '{print $1}') ; do echo "$(dirname "$0")/pv-create.sh" "$node" ${PV_NUMS} "$(dirname "$0")/pv-create.sh" "$node" ${PV_NUMS} done