Quantcast
Channel: Active questions tagged vagrant - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 64

vmware/photon with vagrant and virtualbox provider

$
0
0

Im trying to get a vagrant virtualbox vmware/photon up and running but the most basic Vagrantfile emits an error.

    Vagrant.configure("2") do |config|      config.vm.box = "vmware/photon"       config.vm.box_version = "4.0.2"    end
Path: <provider config: virtualbox>Line number: 19Message: NameError: undefined local variable or method `override' for main:Object        override.vbguest.no_install = true

One thing I tried was to set the override variable

Vagrant.configure("2") do |override, config|

But then a full callstack is thrown:

D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/config/v2/loader.rb:37:in `load': can't convert Vagrant::Config::V2::Root to Array (Vagrant::Config::V2::Root#to_ary gives Vagrant::Config::V2::DummyConfig) (TypeError)        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/config/loader.rb:126:in `block (2 levels) in load'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/config/loader.rb:119:in `each'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/config/loader.rb:119:in `block in load'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/config/loader.rb:116:in `each'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/config/loader.rb:116:in `load'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/vagrantfile.rb:31:in `initialize'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/environment.rb:817:in `new'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/environment.rb:817:in `vagrantfile'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/environment.rb:998:in `process_configured_plugins'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/lib/vagrant/environment.rb:189:in `initialize'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/bin/vagrant:211:in `new'        from D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.3.7/bin/vagrant:211:in `<main>'

How do we get photonos up and running with vagrant and virtualbox?


Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>