github.com/kikitux/packer@v0.10.1-0.20160322154024-6237df566f9f/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 }