packer-cn/builder/parallels/common/prlctl_post_config.go

18 lines
318 B
Go

package common
import (
"github.com/mitchellh/packer/template/interpolate"
)
type PrlctlPostConfig struct {
PrlctlPost [][]string `mapstructure:"prlctl_post"`
}
func (c *PrlctlPostConfig) Prepare(ctx *interpolate.Context) []error {
if c.PrlctlPost == nil {
c.PrlctlPost = make([][]string, 0)
}
return nil
}