nsidc / vagrant-vsphere

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

Does not exit.... #224

Closed kesterriley closed 7 years ago

kesterriley commented 7 years ago

When building the machines, my process hangs after setting the hostname. It does set the hostname of the provisioned machine.

Therefore the script never exits. Running vagrant from Windows 7, to ESXi / VSphere 5.5.

Can any one help??

This is the output:

Bringing machine 'rhel73Repo-01' up with 'vsphere' provider... ==> rhel73Repo-01: Setting custom memory: 512 ==> rhel73Repo-01: Setting custom cpu count: 1 ==> rhel73Repo-01: Calling vSphere CloneVM with the following settings: ==> rhel73Repo-01: -- Template VM: Kit2_DC/vm/Rhel73_template ==> rhel73Repo-01: -- Target VM: Kit2_DC/vm/vagrant-vsphere_rhel73Repo-01_14834 56985042_15050 ==> rhel73Repo-01: New virtual machine successfully cloned ==> rhel73Repo-01: Waiting for the machine to report its IP address... rhel73Repo-01: Timeout: 240 seconds rhel73Repo-01: IP: 10.34.59.162 ==> rhel73Repo-01: Waiting for machine to boot. This may take a few minutes... rhel73Repo-01: SSH address: 10.34.59.162:22 rhel73Repo-01: SSH username: vagrant rhel73Repo-01: SSH auth method: private key ==> rhel73Repo-01: Machine booted and ready! ==> rhel73Repo-01: Setting hostname...

kesterriley commented 7 years ago

OK, have played further and it is the setting of the hostname that is the problem, if I remove that from the Vagrantfile then the script completes.