kubernetes-the-hard-way/scripts/node_names

3 lines
109 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
vagrant status --machine-readable | grep ,state, | cut -d, -f2 | sort | uniq | grep "$1"