Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
Created February 5, 2021 14:02
Show Gist options
  • Save kwilczynski/e08914e5b4ba093f81dd89a3e4eda15f to your computer and use it in GitHub Desktop.
Save kwilczynski/e08914e5b4ba093f81dd89a3e4eda15f to your computer and use it in GitHub Desktop.
$ cat Vagrantfile
require 'vagrant/util/deep_merge'
h = { hello: "bob" }
Vagrant.configure("2") do |config|
p Vagrant::Util::DeepMerge.deep_merge(h, { hello: "world" })
end
$ vagrant status
{:hello=>"world"}
Current machine states:
default not created (virtualbox)
The environment has not yet been created. Run `vagrant up` to
create the environment. If a machine is not created, only the
default provider will be shown. So if a provider is not listed,
then the machine is not created for that environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment