github.phpd.cn/hashicorp/packer@v1.3.2/builder/virtualbox/common/vboxmanage_post_config.go (about) 1 package common 2 3 import ( 4 "github.com/hashicorp/packer/template/interpolate" 5 ) 6 7 type VBoxManagePostConfig struct { 8 VBoxManagePost [][]string `mapstructure:"vboxmanage_post"` 9 } 10 11 func (c *VBoxManagePostConfig) Prepare(ctx *interpolate.Context) []error { 12 if c.VBoxManagePost == nil { 13 c.VBoxManagePost = make([][]string, 0) 14 } 15 16 return nil 17 }