From 2ba65c2328aaee263fec5155cc6f8b7246302d4c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 27 Jun 2013 07:39:11 -0700 Subject: [PATCH] post-processor: Recognize the virtualbox builder --- post-processor/vagrant/post-processor.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/post-processor/vagrant/post-processor.go b/post-processor/vagrant/post-processor.go index 16630df18..39c5a4e76 100644 --- a/post-processor/vagrant/post-processor.go +++ b/post-processor/vagrant/post-processor.go @@ -11,7 +11,8 @@ import ( ) var builtins = map[string]string{ - "mitchellh.amazonebs": "aws", + "mitchellh.amazonebs": "aws", + "mitchellh.virtualbox": "virtualbox", } type Config struct { @@ -89,6 +90,8 @@ func keyToPostProcessor(key string) packer.PostProcessor { switch key { case "aws": return new(AWSBoxPostProcessor) + case "virtualbox": + return new(VBoxBoxPostProcessor) default: return nil }