Comment 2 for bug 1759829

Revision history for this message
dastillero (dastillero) wrote :

Hi @LocutusOfBorg,

I tried the build you uploaded and it threw the next error when running "vagrant up":

/usr/share/vagrant/plugins/providers/virtualbox/driver/meta.rb:64:in `initialize': uninitialized constant VagrantPlugins::ProviderVirtualBox::Driver::Meta::Version_5_1 (NameError)
Did you mean? VagrantPlugins::ProviderVirtualBox::Driver::Version_5_0
               VagrantPlugins::ProviderVirtualBox::Driver::Version_4_1
               VagrantPlugins::ProviderVirtualBox::Driver::Version_4_3
               VagrantPlugins::ProviderVirtualBox::Driver::Version_4_2
               VagrantPlugins::ProviderVirtualBox::Driver::Version_4_0
 from /usr/share/vagrant/plugins/providers/virtualbox/provider.rb:20:in `new'
 from /usr/share/vagrant/plugins/providers/virtualbox/provider.rb:20:in `usable?'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:347:in `block in default_provider'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:345:in `each'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:345:in `default_provider'
 from /usr/lib/ruby/vendor_ruby/vagrant/plugin/v2/command.rb:174:in `block in with_target_vms'
 from /usr/lib/ruby/vendor_ruby/vagrant/plugin/v2/command.rb:201:in `block in with_target_vms'
 from /usr/lib/ruby/vendor_ruby/vagrant/plugin/v2/command.rb:183:in `each'
 from /usr/lib/ruby/vendor_ruby/vagrant/plugin/v2/command.rb:183:in `with_target_vms'
 from /usr/share/vagrant/plugins/commands/up/command.rb:89:in `block in execute'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:249:in `block (2 levels) in batch'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:247:in `tap'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:247:in `block in batch'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:246:in `synchronize'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:246:in `batch'
 from /usr/share/vagrant/plugins/commands/up/command.rb:88:in `execute'
 from /usr/lib/ruby/vendor_ruby/vagrant/cli.rb:42:in `execute'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:268:in `cli'
 from /usr/bin/vagrant:173:in `<main>'

The Vagrantfile I'm using is the next one just in case:

# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.box = "williamyeh/ubuntu-trusty64-docker"

  # Provision the VM with a script
  config.vm.provision "shell", path: "vagrant_provision.sh"

  # Forward SSH
  config.vm.network :forwarded_port, guest: 22, host: 2244, id: 'ssh'

  # Mount current directory on guest
  config.vm.synced_folder ".", "/vagrant"

  # Set hostname
  config.vm.hostname = "dev-factory"

  # Custom VM changes
  config.vm.provider "virtualbox" do |vb|
     # Use VBoxManage to customize the VM. For example to change memory:
     vb.name = "devfactory"
     vb.customize ["modifyvm", :id, "--memory", "768"]
     vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  end
end

Thanks!