vagrant


Vagrant and vmware_desktop


I build a custom box with packer:
"builders": [{
"type": "vmware-iso",
"iso_urls": "http://mirror.vtti.vt.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso",
"iso_checksum_type": "sha256",
"iso_checksum": "27bd866242ee058b7a5754e83d8ee8403e216b93d130d800852a96f41c34d86a",
"boot_wait": "10s",
"disk_size": 81920,
"output_directory": "/home/aida/vmware-packer/",
"guest_os_type": "redhat",
"headless": true,
"http_directory": "http",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"vm_name": "packer-centos-7-x86_64",
"vmx_data": {
"memsize": "4096",
"numvcpus": "2"
},
"boot_command" : [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
]
}],
"provisioners": [
{
"type": "shell",
"scripts": [
"scripts/vagrant.sh",
"scripts/vmware.sh",
"scripts/vagrant.sh",
"scripts/sshd.sh",
"scripts/cleanup.sh"
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'"
}
],
"post-processors": [{
"output": "builds/{{.Provider}}-centos7.box",
"type": "vagrant"
}]
}
Then, I add this to the vagrant box. Now, I'm trying to use vagrant up, but I received this error:
The provider 'vmware_desktop' could not be found, but was requested to back the
machine 'default'. Please use a provider that exists.
I tried to add a vmware workstation plugin but I faced whith another error which is I need a specefic licence. (I have a work station pro licence)
So, do you have any idea what should I do?

Related Links

Provisioning Vagrant box with chef-solo and vagrant
Install .bundle on Vagrant machine fails
Using Vagrant to set up a VM with KVM/qemu without VirtualBox
network interfaces issue while booting vagrant
Vagrant create alias for long machine name
cannot load such file — vagrant-parallels
Trying to provision my Vagrant with Ansible
How can I have Vagrant's provision fail if a subcommand fails?
'Vagrant ssh' uses old deleted box
Vagrant: how to make one VM find another VM by name
Permission issue with Vagrant : 501 dialout
Vagrant in silent/quiet mode
How to share a vagrant machine with https
Configuration issue with OpenShift3 origin/all-in-one, vagrant Cluster setup
Homestead error: The SSH command responded with a non-zero exit status
synced folder in Vagrant: The host path of the shared folder is missing

Categories

HOME
automapper
keyboard
freeradius
apple-push-notifications
eclipse-plugin
jms
qc
histogram
fedora
azure-graph-api
fasm
pm2
freertos
squirrel-sql
complexity-theory
nest-api
user-defined-types
exe
google-sites
office-ui-fabric
scheduled-tasks
android-permissions
generator
cell
unordered-multimap
pubxml
high-availability
tf-idf
python-imageio
math.js
miniprofiler
credit-card
publishing
epplus
directfb
cordys-opentext
iscroll
hypothesis-test
pyttsx
access-denied
elasticsearch-aggregation
sendinput
linq-to-excel
webalizer
winston
datediff
deedle
dblink
emf-compare
yui3
pyaudio
p6spy
django-testing
yii2-model
distributed-cache
wikimedia-commons
odesk
boost-proto
juniper-network-connect
self
mobilefirst-server
artisan
azure-xplat-cli
nssortdescriptor
rfc5545
baseadapter
microsoft-expression-web
lifetime
producer
tabris
aho-corasick
rails-api
boolean-algebra
spring-social-linkedin
strdup
django-settings
lru
objective-c-runtime
session-0-isolation
handshake
cgrectmake
expression-web
canonicalization
digiflow
git-log
bass
ixmldomdocument
.net-services
ppc
comment-conventions
watchpoint
downloadfile

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App