ezmomi icon indicating copy to clipboard operation
ezmomi copied to clipboard

add dhcp option

Open snobear opened this issue 10 years ago • 4 comments

Currently, only static IPs are possible, so definitely need to add in the dhcp option, which should probably be default.

snobear avatar Jul 01 '14 12:07 snobear

I don't want to create a new issue for this, so I add my comments here. I'm also looking for a DHCP option. When I played around with the pyVmomi clone samples, I could get a new cloned VM with DHCP, as my source Template has been configured with DHCP. Would like to have this option here as well. At the moment I have to come up with some side part solution for the Fixed IP assignment. But we have a DHCP pool for our VMs, and would like to use that. I already modified this one here to get me the IP from a VM once it has been cloned.

derchrisuk avatar Sep 18 '15 13:09 derchrisuk

With the code from @jctanner I was able to get DHCP working. But at the moment only with one device. I will try to follow your advise, and make it like ips with several arguments.

derchrisuk avatar Sep 18 '15 15:09 derchrisuk

Hi, I'm having the same need. Do you have plans to merge the dhcp functionality into your main repo?

I'd much rather use your repo than forking and having to rebase.

Thanks for any insight into your plan.

ryanrussell avatar Oct 14 '15 17:10 ryanrussell

Hi ,any update on this , i want to create vms from different templates with dhcp option , any thoughts?

iahmad-khan avatar Sep 08 '17 22:09 iahmad-khan