Agent changes to call WMI instead of xentools_client.exe
and calling sethostname from resetnetwork