Hello all,

I'm trying to do a Vagrantfile with 2 providers
My vagrant file looks like:

config.vm.define 'zeus' do |social|
  social.vm.provider 'lxc' do |vm, override|
    override.vm.box = lxc_box
    vm.container_name = :machine
  end
  social.vm.provider 'virtualbox' do |vm, override|
    override.vm.box = virtualbox_box
    vm.name = :machine
  end
end

But when I try to up with virtualbox I get
*==> poseidon: Setting the name of the VM: machine*
*==> poseidon: Destroying VM and associated drives...*

*... undefined method `encode' for :machine:Symbol (NoMethodError)*

I've found this https://github.com/fgrehm/vagrant-lxc/issues/337 it's 
exactly the same error except that is using lxc provider
Am I doing something wrong in the vagrantfile?

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/88d7773d-bf0e-4fb6-ab2f-090da63c196f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to