frapposelli / vagrant-vcenter

A Vagrant provider for VMware vCenter®
MIT License
106 stars 36 forks source link

RFE: ability to specify a custom resource pool for VMs #20

Closed tehranian closed 9 years ago

tehranian commented 9 years ago

Per my convo over dinner w/ @frapposelli ... It'd be awesome to be able to specify custom resource pools for the VMs that are provisioned. With such functionality, limits could be put on resource utilization of the provisioned VMs. Currently the vagrant-vcenter plugin is hard-coded to use the root resource pool.

See: https://github.com/gosddc/vagrant-vcenter/blob/master/lib/vagrant-vcenter/action/build_vm.rb#L43

Thanks! Dan

tehranian commented 9 years ago

Thanks for adding the resource pool selection @frapposelli ! I tried it out and it works well.

Are you planning on allowing for child resources pools as well? Ideally I'd like to have a parent resource pool called "developers" with many children resource pools, one for each developer on our R&D team. Ex: I'd want my VMs to go under "developers\dan.tehranian" but my coworkers to go under "developers\john.smith".

Thanks again! Dan

frapposelli commented 9 years ago

Yes, I'm planning to have that in the next version.

tehranian commented 9 years ago

Awesome! Can't wait to use it :smile: