sciurus/vagrant-mutate

Fails to convert centos/6

Closed this issue · 0 comments

When trying to convert the virtualbox version of https://atlas.hashicorp.com/centos/boxes/6 it fails to read the box.ovf with the message:

/usr/local/lib/ruby/gems/2.2/gems/vagrant-mutate-1.1.0/lib/vagrant-mutate/box/virtualbox.rb:17:inimage_name': undefined method attributes' for nil:NilClass (NoMethodError)

This seems to be because the box.ovf uses namespaces in it's xml. I tried solving this but didn't have much luck because of the seemingly poor support for namespaces in REXML. I was thinking of converting it to use nokogiri, but thought I'd ask your thoughts on this first. Do you want to take a look?