We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure if this is a problem of ezmomi of pyvmomi. When I try to deploy a template, and use a . or _ in the hostname, the deploy fails with this:
.
_
pyVmomi.VmomiSupport.InvalidArgument: (vmodl.fault.InvalidArgument) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], msg = 'A specified parameter was not correct. \nspec.identity.hostName', faultCause = <unset>, faultMessage = (vmodl.LocalizableMessage) [], invalidProperty = u'spec.identity.hostName' }
The text was updated successfully, but these errors were encountered:
I fixed my issue buy using the following to remove certain special characters from the hostname:
ident.hostName.name = self.config['hostname'].translate(None, '._!@#^%$&')
Sorry, something went wrong.
No branches or pull requests
Not sure if this is a problem of ezmomi of pyvmomi.
When I try to deploy a template, and use a
.
or_
in the hostname, the deploy fails with this:The text was updated successfully, but these errors were encountered: