Comments (11)
Could you post the Vagrantfile you're using when you get this error?
from vagrant-vsphere.
I get the error using the following Vagrantfile:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = 'dummy'
config.vm.box_url = './example_box/dummy.box'
config.vm.provider :vsphere do |vsphere|
vsphere.host = 'replaced'
vsphere.data_center_name = 'ha-datacenter'
vsphere.template_name = '_template_centos65_vagrant'
vsphere.name = 'ji_centos'
vsphere.user = '<user>'
vsphere.password = '<password>'
vsphere.insecure = 'true'
vsphere.clone_from_vm = true
end
end
from vagrant-vsphere.
Is there anything planned for the future to support the free Version of ESXI?
from vagrant-vsphere.
@regenrek, wondering the same
from vagrant-vsphere.
The vagrant-vsphere plugin uses the vSphere API to clone VM's. The error that you are seeing, "NotSupported: The operation is not supported on the object.", is a response coming from ESXi telling you that the API call for CloneVM is not supported. This is a fairly essential operation for using vagrant to provision VM's and cannot easily be worked around by making changes to the vagrant-vsphere plugin.
from vagrant-vsphere.
It's fairly easy to clone a VM using vmfkstools which is accessible by SSHing into the ESXi server. I use the following script for my servers to do a quick clone without vcenter.
https://gist.github.com/nitrocode/007fce26f161aa0b74ec
./clone.sh ORIGNAME CLONENAME
from vagrant-vsphere.
The vagrant-vsphere plugin only works with the vSphere API. It is unlikely that all of the same functionality could be provided by SSHing into an ESXi server and running shell commands. CloneVM is only one of many API calls needed for vagrant-sphere to function properly.
Even if it were possible to recreate the same functionality of vagrant-vsphere using SSH and shell commands this would amount to an entirely different vagrant plugin. There are no plans to take the vagrant-vsphere project in this direction.
from vagrant-vsphere.
Guess this warrants a new plugin.
Thank you.
from vagrant-vsphere.
@jwbraucher This plugin should work with at least within the trial period of 60 days of ESXi, right ?
from vagrant-vsphere.
Hmm. If you VMwareCeption an esxi box, it'll have a shiny new 60-day. I bet you could spin up a snapshotted esxi host as a host for the actual box building; then reel it back (to a powered-off state) when you're done.
from vagrant-vsphere.
This plugin will not work with any form of standalone esxi. I tested it on a standalone host with an enterprise plus license and the feature is still not supported.
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.