set default value for hostgroup when the server is virtual