Rename VMs within vcenter

The hostslist will contain a list of comma seperated hostnames e.g.

old-hostname.example.com,new-hostname.example.com