helper script for creating cluster.txt from VMs