Comments (10)
Have you tried 'TestDev' instead of esxpsrv5.***.com?
from vagrant-vsphere.
Awesome, that got me past that issue anyway. Thanks
from vagrant-vsphere.
Anybody? I can't use Vagrant because of this, and if I'm doing something stupid, it's not obvious to me.
from vagrant-vsphere.
Im running into the exact same issue. Using the name of the cluster will get the VM to provision, however I need to specifically provision it to a host within the cluster. is there another setting that I should be using to clone to a specific host or is this just not supported?
from vagrant-vsphere.
Not sure. Have you tried the resource_pool_name property? Take a look at this: #152
from vagrant-vsphere.
I have, using the following:
vsphere.data_center_name = 'DOMAIN'
vsphere.resource_pool_name = 'marjorie.XXX.org'
vsphere.compute_resource_name = 'iCluster'
Here is the layout in the vSphere Client:
when doing so it returns "Configured resource pool not found"
this commit you referenced seems promising however.
from vagrant-vsphere.
I am a little new here, but I would suggest this.
vsphere.compute_resource_name = '10.1.202.10'
vsphere.vm_base_path = 'Dev_Ops'
vsphere.data_center_name = 'COMP_Dev'
On Tue, Oct 20, 2015 at 7:05 PM, Kristen Arnold [email protected]
wrote:
Im running into the exact same issue. Using the name of the cluster will
get the VM to provision, however I need to specifically provision it to a
host within the cluster. is there another setting that I should be using to
clone to a specific host or is this just not supported?—
Reply to this email directly or view it on GitHub
#89 (comment)
.
J Stefaans Mostert
Mobile: 0844634590
Fax: 0867300603
skype: mozzi_za (kuberboef)
Linux is simple. It just takes a genius to understand its simplicity.
from vagrant-vsphere.
Hi guys,
Having the same issue: not being able to provision the vm to a specific host (i can do it just fine in the cluster).
Did you find any solution to this that you can share?
from vagrant-vsphere.
I never did. I eventually just bailed on this plugin because of it
from vagrant-vsphere.
Changing the IP ESXi host for Cluster name works for me perfect. Thanks. Please do not forget these symbols ' '
Vagrant.configure("2") do |config|
config.vm.box = "vsphere-dummy"
config.vm.provider :vsphere do |vsphere|
# The vSphere host we're going to connect to
vsphere.host = 'Write the vCenter Server IP'
The ESX host for the new VM
vsphere.compute_resource_name = 'Write Cluster-Name'
# The resource pool for the new VM
vsphere.resource_pool_name = 'Write Resouce pool name'
# The template we're going to clone
vsphere.template_name = 'Write Template-Name'
# The name of the new machine
vsphere.name = 'centos7.mynewbox'
# vSphere login
vsphere.user = 'administrator@*********.local'
# vSphere password
vsphere.password = '**********'
# If you don't have SSL configured correctly, set this to 'true'
vsphere.insecure = true
end
from vagrant-vsphere.
Related Issues (20)
- How to define multi-machine vagrantfile using different vm templates? HOT 2
- error-exit ["VagrantPlugins::VSphere::Errors::VSphereError", "execution expired"]
- undefined method `[]' for nil:NilClass after setting host name
- No setting for command timeout
- Is this project still maintained? HOT 1
- vagrant-vsphere install fails on vagrant 2.2.7
- Vagrant Configures with IPv6 instead of IPv4 HOT 1
- Specifying IPv4 address removes default gateway HOT 1
- Vagrantfile to manage existing VMs HOT 1
- Authentication to vCenter with 2FA TOTP
- Is there still active maintainers for this project ? HOT 1
- 400 Error when downloading vsphere-dummy box
- "can't modify frozen String" error on vagrant-vsphere 1.14.0 HOT 1
- vagant loop weird HOT 2
- Which vSphere Version?
- Cannot install in vagrant 2.3.4 from Debian HOT 2
- Prompt vsphere password programatically HOT 1
- Test issue for GH actions
- Test issue for GH actions - part two
- Test out GH actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-vsphere.