Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 1, 2020 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/eed89c20bbed0e2f19301e408bf96961 to your computer and use it in GitHub Desktop.
Save velotiotech/eed89c20bbed0e2f19301e408bf96961 to your computer and use it in GitHub Desktop.
dcos node --json | jq '.[] | select(.type | contains("agent")) | select(.attributes.public_ip == null) | "Private Agent : " + .hostname ' -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment