You rule

I wanted to make this but decided to do a quick google to make sure I wasn't NIHing.
Your solution not only works, but auto-destroys the vm. That's brilliant!

I made some modifications to get this working on OS X, some minor bugfixes and use new image ids.