nsidc / vagrant-vsphere

VMware vSphere provider for Vagrant
Other
607 stars 166 forks source link

Error when assigning customization_spec_name on windows template #203

Open damojobuck opened 8 years ago

damojobuck commented 8 years ago

When I assign a customization_spec to a windows template the plugin attempts to communicate on the ipv6 interface and throws the following error:

==> enterprisetest1: Waiting for machine to boot. This may take a few minutes... enterprisetest1: WinRM address: fe80::6c33:39e0:445b:383:5985 enterprisetest1: WinRM username: administrator enterprisetest1: WinRM execution_time_limit: PT2H enterprisetest1: WinRM transport: negotiate bad URI(is not URI?): http://fe80::6c33:39e0:445b:383:5985/wsman

Vagrantfile

c.vm.provider :vsphere do |vsphere|
    vsphere.host = 'VCENTER_IP'
    vsphere.compute_resource_name = 'HOST_IP'
    vsphere.customization_spec_name = 'static_ip_spec'
    vsphere.name = node_name.to_s
    vsphere.vm_base_path = 'vagrant-test'
    vsphere.user = 'VCENTER_ADMIN'
    vsphere.password = 'PASSWORD'
    vsphere.insecure = true
    vsphere.template_name = 'Templates/WIN2012r2_TEMPLATE'
end

Vagrant version 1.8.5