2014-03-12 19:14:44 -04:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
2015-05-27 17:01:08 -04:00
|
|
|
"github.com/mitchellh/packer/template/interpolate"
|
2014-03-12 19:14:44 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
type VBoxManagePostConfig struct {
|
|
|
|
VBoxManagePost [][]string `mapstructure:"vboxmanage_post"`
|
|
|
|
}
|
|
|
|
|
2015-05-27 17:01:08 -04:00
|
|
|
func (c *VBoxManagePostConfig) Prepare(ctx *interpolate.Context) []error {
|
2014-03-12 19:14:44 -04:00
|
|
|
if c.VBoxManagePost == nil {
|
|
|
|
c.VBoxManagePost = make([][]string, 0)
|
|
|
|
}
|
|
|
|
|
2015-05-27 17:01:08 -04:00
|
|
|
return nil
|
2014-03-12 19:14:44 -04:00
|
|
|
}
|