mirror of https://github.com/k3s-io/k3s
Adding a python file to parse the IP addresses.
parent
af8f31a0cd
commit
8f038a82a4
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
import json
|
||||
import sys
|
||||
nodes = json.loads(sys.argv[1])
|
||||
for num in nodes:
|
||||
print num['Stdout'].rstrip()
|
||||
|
Loading…
Reference in New Issue