Set host-name based on tor-agent instance
Handle the case where mac-address list is empty in vm-interface