Commit e5e00213 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

post-processor: Recognize the virtualbox builder

parent e44fa1ab
...@@ -11,7 +11,8 @@ import ( ...@@ -11,7 +11,8 @@ import (
) )
var builtins = map[string]string{ var builtins = map[string]string{
"mitchellh.amazonebs": "aws", "mitchellh.amazonebs": "aws",
"mitchellh.virtualbox": "virtualbox",
} }
type Config struct { type Config struct {
...@@ -89,6 +90,8 @@ func keyToPostProcessor(key string) packer.PostProcessor { ...@@ -89,6 +90,8 @@ func keyToPostProcessor(key string) packer.PostProcessor {
switch key { switch key {
case "aws": case "aws":
return new(AWSBoxPostProcessor) return new(AWSBoxPostProcessor)
case "virtualbox":
return new(VBoxBoxPostProcessor)
default: default:
return nil return nil
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment