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
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)
Am I doing something wrong in the vagrantfile?