in lib/muchos/ec2.py [0:0]
def print_nodes(nodes):
for node in nodes:
name = "Unknown"
for tag in node["Tags"]:
if tag["Key"] == "Name":
name = tag["Value"]
print(
" ",
name,
node["InstanceId"],
node["PrivateIpAddress"],
node.get("PublicIpAddress", ""),
)