I am trying to use the vmware_guest module to deploy a Windows 2016 VM from template in a VMware 6.0 and 6.5 vCenter environment while using a server name with a dash in the name (eg, SERVER-NAME).  The display name of the VM is created correctly in vCenter but after guest customization, the server name in the Windows OS appears without the dash (eg, SERVERNAME).  Is there an option I am missing to use the correct name or is this a bug?  Deploying the template using vCenter with this name works correctly.  Thanks!

Ansible host:
CentOS 7.3.1611
ansible 2.8.1
pyvmomi 6.7.3
vCenters 6.0 and 6.5
"""
        Function to return int value for given input, else return error
        Args:
            input_value: Input value to retrieve int value from
            name:  Name of the Input value (used to build error message)
        Returns: (int) if integer value can be obtained, otherwise will send a error message.
        """
        if isinstance(input_value, int):
            return input_value
        elif isinstance(input_value, str) and input_value.isdigit():
            return int(input_value)
        else:
            self.module.fail_json(msg='"%s" attribute should be an'
                                  ' integer value.' % name)
class PyVmomiCache(object):