Skip to content

Unclosed for/quote in Kind setup script #168

Open
@Miles-Garnsey

Description

@Miles-Garnsey

There's an unclosed " somewhere in the setup script for kind listed in the docs:

KIND_NAME=${k8ssandra-0}
SETUP_URL=http://docker-registry-proxy:3128/setup/systemd
pids=""
for NODE in $(kind get nodes --name "$KIND_NAME"); do
  docker exec "$NODE" sh -c "\
      curl $SETUP_URL \
      | sed s/docker\.service/containerd\.service/g \
      | sed '/Environment/ s/$/ \"NO_PROXY=127.0.0.0\/8,10.0.0.0\/8,172.16.0.0\/12,192.168.0.0\/16\"/' \
      | bash" & pids="$pids $!" # Configure every node in background
done
wait $pids

I'm still trying to figure out where it is, but when putting this straight into a shell (zsh in this case) I get:

for dquote>

I'll raise a PR if I can figure out where it is this evening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions