I am using Vagrant and vagrant-vshpere plugin to deploy VM on vCenter. 
Vagrant deploys the VM but it fails to assign the ip address for the VM. 
Could any body let me know do i need to make specific changes in order for 
the ip address to be assigned?

Here are the contents of my Vagrantfile:


Vagrant.configure("2") do |config|

  config.vm.box = 'dummy'

  config.vm.box_url = './example_box/dummy.box'

  config.vm.network :public_network, ip: "xxx.xxx.xxx.xxx"


  config.vm.provider :vsphere do | vsphere |

    vsphere.host = '<vSphere_Host>'

    vsphere.data_center_name = '<Data_Center_Name>'

    vsphere.data_store_name = '<Data_Store_Name>'

    vsphere.template_name = '<Template_Name>'

    vsphere.name = '<New_Name_Of_The_VM>'

    vsphere.user = '<vShpere_User_Name>'

    vsphere.password = '<The_Password>'

    vsphere.insecure = true

    vsphere.compute_resource_name = '<Compute_Resource_IP>'

  end

end

I also want to know if i would be able to assign DNS, Netmask, and Gateway 
using Vagrant.

Note: The template that i am uploading is a custom template [a linux box 
with some applications running on top of it]


Thanks!



-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to