New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.7.1 OSX 10.10 ArgumentError #4962
Comments
I installed vagrant from dmg on mac. /opt/vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/machine.rb:153 - def action(name, **opts)
+ def action(name, opts) thank you. |
Resolved my issue. Thank you. |
Also, this is also a duplicate of #4960 - could you please respond there? |
@itaruru +1 thanks! |
thanks @itaruru . It's work for me! |
This is fixed in master |
@sethvargo thank you! |
Worked for me! |
@itaruru +1 - it works on Ubuntu 14.04. |
Removing ** worked great! ;) |
Had the same problem, works after removing |
Works with yosemite, ruby 2.1.5 |
Hi, please do not remove the |
I tried the fix still get the following: vagrant package --base CentosBase6.6 --output centostest.box /opt/vagrant/embedded/gems/gems/vagrant-1.7.1/plugins/commands/package/command.rb:83:in from from from from /opt/vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/cli.rb:42:in from from Reverting back to 'working' dangerous fix.....sadness' On Wed, Dec 31, 2014 at 5:53 PM, Seth Vargo notifications@github.com
Two Wheels Good, Four Wheels Bad |
I just went back to 1.6.5, since it works. I did check out the github On Thu, Jan 1, 2015 at 4:15 PM, Thomas Munn symgryph@gmail.com wrote:
Two Wheels Good, Four Wheels Bad |
fwiw exact same issue as @symgryph here (10.10.1 && vagrant 1.7.1 && f9eff24 applied)
|
I think need symbol key in hash. def package_vm(vm, options)
opts = options.inject({}) do |acc, data|
k,v = data
acc["package.#{k}".to_sym] = v
acc
end
vm.action(:package, **opts)
end |
humm. issue seems to be https://bugs.ruby-lang.org/issues/10118 if i'm understanding things correctly |
Worked for me thanks!! |
@sramazzina fwiw it doesn't seem to work that well here. it stops failing but custom args to vagrant package are silently ignored... |
I was trying to simply package my ubuntu vm and it worked.... but I was so excited that I made the changes before coming to post's end :-( .... That's my mistake! I reverted the change to the original version. Someone can tell me if the packaged box can be considered as good or do I have to throw it away? |
@AntonioMeireles Sorry, my comment was not perfectly. |
vi vagrant-1.7.1/lib/vagrant/machine.rb:153 def action(name, **opts) to def action(name, opts) |
fwiw 1.7.2, released in last few hours, seems to have fixed this once and for all out of the box 😄 |
Same problem here. Environment: vagrant 1.7.2, ruby 2.0.0p481, OSX Yosemite - 10.10.3 Changed file: vi vagrant-1.7.2/lib/vagrant/machine.rb:153 before: def action(name, opts=nil) after: def action(name, opts) Done. Thanks to @tian-xiaobo |
OSX Yosemite
VirtualBox 4.3.20
Guest OS Ubuntu 14.10.1
Guest Additions installed
The text was updated successfully, but these errors were encountered: