github.com/yoctocloud/packer@v0.6.2-0.20160520224004-e11a0a18423f/builder/parallels/common/prlctl_post_config.go (about) 1 package common 2 3 import ( 4 "github.com/mitchellh/packer/template/interpolate" 5 ) 6 7 type PrlctlPostConfig struct { 8 PrlctlPost [][]string `mapstructure:"prlctl_post"` 9 } 10 11 func (c *PrlctlPostConfig) Prepare(ctx *interpolate.Context) []error { 12 if c.PrlctlPost == nil { 13 c.PrlctlPost = make([][]string, 0) 14 } 15 16 return nil 17 }