mitchellh / veewee-to-packer

A tool for converting Veewee templates into Packer templates.
http://www.packer.io
MIT License
65 stars 14 forks source link

Unknown keys: [:hwvirtext] in VMware #8

Closed neil477 closed 11 years ago

neil477 commented 11 years ago

get this when I run veewee-to-packer on the definition.rb for the vewee template Fedora-17-x86_64 in the repo

mitchellh commented 11 years ago

That is because "hwvirtext" is actually incorrect. It should be hwvirtex. This is a bug in the template itself. :)

neil477 commented 11 years ago

Upon making the changes, I know get:

An error occurred: Uknown keys: [:hwvirtex]

Thats right, "Uknown" keys too. Couldn't find that error when I grepped through the source of veewee-to-packer though.

mitchellh commented 11 years ago

Are you using the latest version of v2p?

This was fixed in around 0.1.2 or so. Can you run "gem list" to check?

Sent from my iPhone

On Jul 7, 2013, at 2:33 PM, Neil B notifications@github.com wrote:

Upon making the changes, I know get:

An error occurred: Uknown keys: [:hwvirtex]

Thats right, "Uknown" keys too. Couldn't find that error when I grepped through the source of veewee-to-packer though.

\ Reply to this email directly or view it on GitHub.

neil477 commented 11 years ago

on running gem list I get

veewee-to-packer (0.1.4)

mitchellh commented 11 years ago

AH! Is this for the VMware builder? Do you get the output if you specify --builders=virtualbox?

neil477 commented 11 years ago

yup works now! How'd you know it was for vmware?

mitchellh commented 11 years ago

Haha, just running through the code I couldn't see how the virtualbox one wasn't working. I'm going to reopen this issue and mark that this needs to be done for VMware.

mitchellh commented 11 years ago

Released 0.1.5 which fixes this