diff --git a/lib/vagrant/machine.rb b/lib/vagrant/machine.rb index 5ff3d0ebd..07489e977 100644 --- a/lib/vagrant/machine.rb +++ b/lib/vagrant/machine.rb @@ -160,9 +160,6 @@ module Vagrant # Extra env keys are the remaining opts extra_env = opts.dup - # Convert the extra keys back to strings - extra_env = extra_env.inject({}) { |h,(k,v)| h[k.to_s] = v; h } - # Create a deterministic ID for this machine vf = nil vf = @env.vagrantfile_name[0] if @env.vagrantfile_name diff --git a/plugins/commands/package/command.rb b/plugins/commands/package/command.rb index fb9ad705f..e54335475 100644 --- a/plugins/commands/package/command.rb +++ b/plugins/commands/package/command.rb @@ -80,9 +80,6 @@ module VagrantPlugins acc end - # Symbolize all keys - opts = opts.inject({}) { |h,(k,v)| h[k.to_sym] = v; h } - vm.action(:package, **opts) end end