Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vagrant in windows after using vmware_desktop always error out to install licence #10995

Closed
sdputurn opened this issue Jul 31, 2019 · 3 comments

Comments

@sdputurn
Copy link

I am using windows 10 OS. i have installed virutalbox and vmware workstation both. i was using vagrant with virtualbox happily. then i tried to setup vmware_desktop provider. after i install vmware_desktop plugin, i am getting only one error for all vagrant command.

$ vagrant.exe status --help
A valid license is required to run the Vagrant VMware
provider. Please visit http://www.vagrantup.com to purchase
a license. Once you purchase a license, you can install it
using `vagrant plugin license`.

Vagrant version

Vagrant 2.2.5

Host operating system

windows 10

Guest operating system

centos

Vagrantfile

$ cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.

  # Every Vagrant development environment requires a box. You can search for
  # boxes at https://vagrantcloud.com/search.
  config.vm.define "base1" do |base1|
    base1.vm.box = "centos/7"
    base1.vm.network "private_network", ip: "192.168.99.10"
    base1.vm.hostname = "base1.mylearning.com"
    base1.vm.box_check_update = false
    base1.vm.synced_folder ".", "/vagrant_data", disabled: true
    base1.vm.provider "virtualbox" do |vb|
       vb.memory = "16384"
       vb.cpus = 3
       vb.name = "base1.mylearning.com"
    end
    base1.vm.provision "shell", inline: <<-SHELL
     echo base1!!
    SHELL
  end
  config.vm.define "base2" do |base2|
    base2.vm.box = "centos/7"
    base2.vm.network "private_network", ip: "192.168.99.11"
    base2.vm.hostname = "base2.mylearning.com"
    base2.vm.box_check_update = false
    base2.vm.synced_folder ".", "/vagrant_data", disabled: true
    base2.vm.provider "virtualbox" do |vb|
       vb.memory = "4096"
       vb.cpus = 2
       vb.name = "base2.mylearning.com"
    end
    base2.vm.provision "shell", inline: <<-SHELL
      echo base2!!
    SHELL
  end
  config.vm.define "base3" do |base3|
    base3.vm.box = "centos/7"
    base3.vm.network "private_network", ip: "192.168.99.12"
    base3.vm.network "private_network", ip: "192.168.33.10"
    base3.vm.hostname = "base3.mylearning.com"
    base3.vm.box_check_update = false
    base3.vm.synced_folder ".", "/vagrant_data", disabled: true
    base3.vm.provider "virtualbox" do |vb|
       vb.memory = "4096"
       vb.cpus = 2
       vb.name = "base3.mylearning.com"
    end
    base3.vm.provision "shell", inline: <<-SHELL
      echo base3!!
    SHELL
  end
   config.vm.define "base4" do |base4|
    base4.vm.box = "centos/7"
    base4.vm.network "private_network", ip: "192.168.99.13"
    base4.vm.network "private_network", ip: "192.168.33.11"
    base4.vm.hostname = "base4.mylearning.com"
    base4.vm.box_check_update = false
    base4.vm.synced_folder ".", "/vagrant_data", disabled: true
    base4.vm.provider "virtualbox" do |vb|
       vb.memory = "4096"
       vb.cpus = 2
       vb.name = "base4.mylearning.com"
    end
    base4.vm.provision "shell", inline: <<-SHELL
      echo base4!!
    SHELL
  end


end

Please note, if you are using Homestead or a different Vagrantfile format, we
may be unable to assist with your issue. Try to reproduce the issue using a
vanilla Vagrantfile first.

Debug output

Provide a link to a GitHub Gist containing the complete debug output:
https://www.vagrantup.com/docs/other/debugging.html. The debug output should
be very long. Do NOT paste the debug output in the issue, just paste the
link to the Gist.

Expected behavior

vagrant commands should work

Actual behavior

all vagrant giving error

Steps to reproduce

References

Are there any other GitHub issues (open or closed) that should be linked here?
For example:

@briancain
Copy link
Member

Hi @sdputurn - Do you have a valid license to use the vmware plugin?

@sdputurn
Copy link
Author

thanks @briancain for your reply. no i did not had licence. but the problem was all sub-commands to vagrant were error. this got fixed after i uninstall the plugin and rebooted my machine. closing this issue.

@ghost
Copy link

ghost commented Jan 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants